Skip to content

LSP autocompletion in React components not working in rescript@13.0.0-alpha.4 / rescript@13.0.0-alpha.5 #1187

Description

@dkirchhof

I created a new project with create-resctipt-app (vite template). Then I updated rescript to 13.0.0-alpha.5 and changed the @rescript/react version to 0.16.0-beta.1.

I found out that the LSP has some problems Inside of react components. Lets explain it with some screenshots:

  1. Hovering over functions works
Image
  1. But the autocompletion inside JSX doesn't work
Image
  1. Even above the jsx code it fails
Image
  1. After downgrading to 13.0.0-alpha.3 (i have the same issues in alpha 4), autocompletions works again
Image

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