Edit: beta 2 is out. Links in this post updated. See my comment below on updates.
Hello folks!
The next version of our VSCode plugin contains some pretty exciting changes. It contains some significant refactor. so we’ve like to have some beta testers try it first:
In VSCode, use the command “Extensions: Install from VSIX…” to install it.
This will replace your current rescript-vscode plugin, but you can always uninstall and install back the production version right after.
In particular, we’d like some feedback from Windows and Linux users, to ensure we didn’t subtly break a few existing things. If you use Windows, please report whether things still work!
If everything goes right, this plugin will be released this week. Enjoy the new changes!
I am currently preparing the vim integration for this beta release, so as soon as a stable version is shipped, I will officially ship the new vim updates as well.
For autocompletion in JSX, would it be possible to trigger it via Ctrl + Space as well? Since you have no trigger character in JSX, and need to type the first letter of a prop to have it completed.
If I type @react. and then press enter on the autocomplete suggestion “react.component”, I end up with @react.react.component.
If I hover over a React component declaration (make function annotated with @react.component) in a .resi file, no tooltip/type information is shown. (For other functions it works fine.)
Yeah this is a known issue, thanks. Unfortunately the documentSymbol request isn’t sent to us on save, at all. Nothing we can do here. But we’ve found a workaround. We’ll disable outline for this release for now.