镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

JSX props autocomplete stops working after polymorphic variant is declared #313

Closed

Description

@Lomand

Greetings,
Autocomplete works as expected if Ctrl+Space is pressed before a prop with polymorphic variant is declared,

image

and breaks if Ctrl+Space is pressed after it.

image

Repo with example:
https://github.com/Lomand/rescript-broken-autocomplete-jsx
Just add align=#Center in the Demo.res to reproduce the issue.

Activity

  1. cristianoc commented on Nov 23, 2021

    @cristianoc
    Collaborator

    @Lomand indeed that case is not covered by autocompletion currently, while align={#Center} is.

  2. cristianoc commented on Nov 23, 2021

    @cristianoc
    Collaborator

    This should be fixed in #317.

  3. Lomand commented on Nov 23, 2021

    @Lomand
    Author

    Awesome, thanks a lot, Cristiano! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions