nwolverson / purescript-language-server

MIT License
184 stars 41 forks source link

No info on hover for non-toplevel symbols #109

Open triallax opened 3 years ago

triallax commented 3 years ago

I'm not sure if this should be here or on the compiler repo.

nwolverson commented 3 years ago

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.

triallax commented 3 years ago

Should I close this issue then?

nwolverson commented 3 years ago

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

  1. Performance
  2. Reliability
  3. Partial programs
nwolverson commented 3 years ago

@mhmdanas happy to leave this open for anybody else looking to find.

deemp commented 1 year ago

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?