rescript-vscode
rescript-vscode copied to clipboard
Codelens doesn't stick to the function definition when added a new line before it
https://user-images.githubusercontent.com/49292466/191954777-0e729b68-e4fc-43b1-86e8-5358cb3f2166.mov
Version: v1.7.19 pre-release
It's fixed after formatting the file on save.
This is because what's producing the code lens is operating on the saved, compiled content (where everything is guaranteed to have a type). Unclear if it's worth the complexity of trying to work around that.
I'll try the feature for longer time and give more feedback.