class LSProtocol::WorkspaceSymbolRequest

Overview

A request to list project-wide symbols matching the query string given by the WorkspaceSymbolParams. The response is of type Array(SymbolInformation) or a Thenable that resolves to such.

@since 3.17.0 - support for WorkspaceSymbol in the returned data. Clients need to advertise support for WorkspaceSymbols via the client capability workspace.symbol.resolveSupport.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32 | String, params : WorkspaceSymbolParams) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : Int32 | String #

The request id.


[View source]
def jsonrpc : String #

[View source]
def method : String #

The method to be invoked.


[View source]
def params : WorkspaceSymbolParams #

[View source]