purescript-language-server
purescript-language-server copied to clipboard
No info on hover for non-toplevel symbols
I'm not sure if this should be here or on the compiler repo.
I think this is tracked by https://github.com/purescript/purescript/issues/3670 - it is and has always been a limitation of psc-ide/purs ide.
Should I close this issue then?
I'd be more than happy to make it clear in the readme for this LS what "should work" though. Obviously we'd all love for full support for types for all identifiers etc, complications that spring to mind being
- Performance
- Reliability
- Partial programs
@mhmdanas happy to leave this open for anybody else looking to find.
There's an extension for VS Code (my crutch, to be more precise) that makes something like what's suggested by @srghma in https://github.com/purescript/purescript/issues/3670. It requires selecting and pressing a combination of keys. This way, one may see the type of the selected text. The problem is that the extension relies on a couple of other extensions. Perhaps this crutch may be included into purescript-language-server natively until there's a better solution. @nwolverson, what do you think?