You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LSP autocompletion in React components not working in rescript@13.0.0-alpha.4 / rescript@13.0.0-alpha.5 #1187
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:
Hovering over functions works
But the autocompletion inside JSX doesn't work
Even above the jsx code it fails
After downgrading to 13.0.0-alpha.3 (i have the same issues in alpha 4), autocompletions works again
@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?
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?
Activity
aspeddro commentedon Aug 2, 2026
@dkirchhof, I tested using
rescript@13.0.0-alpha.4and@rescript/react@0.16.0-beta.1usingrescript-language-server1.72.0 on Neovim v0.12 and completion works!!What version of rescript-language-server you are using?
dkirchhof commentedon Aug 3, 2026
Thanks for trying out. You're right, no problems in
rescript@13.0.0-alpha.4, after removing all node_modules and reinstalling again. But still no autocompletion inrescript@13.0.0-alpha.5. Could you try it as well?I'm using NVIM v0.12.4 and LSP v1.72.0
Fix empty completion (rescript-lang#1188)