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?
[original thread by Julian Dax]