Outline view and DocumentSymbols
January 11, 2019 at 1:12pmOutline view and DocumentSymbols
January 11, 2019 at 1:12pmHi,
I'm trying to get outline view to work in Theia with my language server (I'm using LSP4J). I am returning a single test-
DocumentSymbol
in the method `public CompletableFuture<List<Either<SymbolInformation, DocumentSymbol>>> documentSymbol(DocumentSymbolParams params)` of TextDocumentService
. The method is called, however Theia does show "No outline information available." in the outline view.Any ideas on how to fix that? Which attributes do I need to set on
DocumentSymbol
in order for it to show up in the outline?Cheers,
Julian
January 14, 2019 at 7:19am
you can debug your document symbol provider and see whether symbols arrived and why they are ignored