Skip to content

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

Closed

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

Activity

  1. aspeddro commented on Aug 2, 2026

    @aspeddro
    Collaborator

    @dkirchhof, I tested using rescript@13.0.0-alpha.4 and @rescript/react@0.16.0-beta.1 using rescript-language-server 1.72.0 on Neovim v0.12 and completion works!!

    What version of rescript-language-server you are using?

    Image
  2. dkirchhof commented on Aug 3, 2026

    @dkirchhof
    Author

    Thanks for trying out. You're right, no problems inrescript@13.0.0-alpha.4, after removing all node_modules and reinstalling again. But still no autocompletion in rescript@13.0.0-alpha.5. Could you try it as well?

    I'm using NVIM v0.12.4 and LSP v1.72.0

  3. added a commit that references this issue on Aug 9, 2026
    e8f8d07
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