View Source GenLSP.Requests.TextDocumentDocumentSymbol (gen_lsp v0.8.1)

A request to list all symbols found in a given text document. The request's parameter is of type {@link TextDocumentIdentifier} the response is of type {@link SymbolInformation SymbolInformation[]} or a Thenable that resolves to such.

Message Direction: clientToServer

Link to this section Summary

Link to this section Types

@type t() :: %GenLSP.Requests.TextDocumentDocumentSymbol{
  id: integer(),
  jsonrpc: String.t(),
  method: String.t(),
  params: GenLSP.Structures.DocumentSymbolParams.t() | nil
}