OCamlPro / superbol-studio-oss

Open-Source part of SuperBOL Studio, including the Visual Studio Code extension and its LSP server
https://superbol.eu
Other
24 stars 13 forks source link

provide editor symbols #342

Closed GitMensch closed 3 months ago

GitMensch commented 3 months ago

currently vsocde shows "no editor symbols" when using the search with "@" while I'd like to see all divisions, procedures and variables in there for another way of navigation

GitMensch commented 3 months ago

... works as long as one doesn't get LSP error messages, which strangely happen with the same file where it commonly works...

Failed to read cache: .\_superbol\lsp-cache: No such file or directory
[Error - 12:32:09] Request textDocument/documentSymbol failed.
  Message: Lsp_server.Document_not_found { uri = 'untitled:Untitled-3' }
  Code: -32603 

(the error message happens both with saved and unsaved files, unsaved files are still not LSP'd - do we have an issue for that?`)