Open istathar opened 5 years ago
Minor update: it turns out the "outline" feature shown in the file Explorer view (Ctrl+Shift+E) is populated. Huh! But whatever the action is that populates individual files' symbols (sic) into a global (that is, workspace) list of symbols seems to be missing.
... and I just realized I've filed this in the wrong place. Re-reporting in vscode-hie-server. Sorry.
It seems it should be implemented in hie, from https://github.com/alanz/vscode-hie-server/issues/138#issuecomment-517220069:
I think this needs to be implemented in HIE, not in the VS Code extension.
Both features (the symbol outline and "Go to Symbol in Workspace") come from LSP:
ReqWorkspaceSymbols
is not yet handled in https://github.com/chrismwendt/haskell-ide-engine/blob/a67490b656a001806c09436acdfce80bf4903f57/src/Haskell/Ide/Engine/Transport/LspStdio.hs#L361
I'm reasonably sure I followed the instructions well; most other features of hie are working great. But for some reason symbol lookup in VScode, from the
Go
menu underGo to Symbol in Workspace (Ctrl+T)
isn't populated with any symbols. Interestingly theOutline
feature in the file Explorer is populated.Do I have to separate a separate ctags file? I somewhat thought that with intero in the background that wasn't necessary.
There weren't any references to this in the README, so I thought I would file an issue. If it is something that (is supposed to) work and merely needs FAQ or instructions added, I'll send in a pull request adding it if you want.
Any help figuring this out appreciated.