superbol-studio-oss icon indicating copy to clipboard operation
superbol-studio-oss copied to clipboard

provide outline view

Open GitMensch opened this issue 2 years ago • 3 comments

so far that is empty "no symbols found", but the LSP surely has information for that

GitMensch avatar Oct 26 '23 16:10 GitMensch

Yes the LSP has all the information for this already, and as far as I can identify the implementation of the basic feature could be quite straightforward. I'll set this for β though, so we concentrate on completing what's "almost" working already.

nberth avatar Oct 27 '23 13:10 nberth

With the parser handling the definitions and providing a "go to definition" now, the data is verified to be available in the LSP. I'm looking forward to see this feature being available and in README.md for the ß release!

Note: if I remember correctly the breadcrumb navigation is again another api (using the same lsp data), but also be quite useful. nav That may be implemented together or separately.

GitMensch avatar Feb 28 '24 13:02 GitMensch

Looks like possibly the registerDocumentSymbolProvider part for "common" symbols and the registerWorkspaceSymbolProvider for global entry points (=procedure divisions and ENTRY in outermost programs) as well as EXTERNAL items may be useful here; also the registerReferenceProvider seems useful to provide that directly (instead of the indirect query).

GitMensch avatar Mar 05 '24 20:03 GitMensch