struct LSP::WorkspaceSymbol

Overview

A special workspace symbol that supports locations without a range

Included Modules

Defined in:

lsp/workspace_symbol.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def container_name : String | Nil #

[View source]
def container_name=(container_name : String | Nil) #

[View source]
def data : JSON::Any | Nil #

A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request.


[View source]
def data=(data : JSON::Any | Nil) #

A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request.


[View source]
def kind : SymbolKind #

[View source]
def kind=(kind : SymbolKind) #

[View source]
def location : Location | NamedTuple(uri: String) #

The location of this symbol. Whether a server is allowed to return a location without a range depends on the client capability workspace.symbol.resolveSupport.

See also SymbolInformation.location.


[View source]
def location=(location : Location | NamedTuple(uri: String)) #

The location of this symbol. Whether a server is allowed to return a location without a range depends on the client capability workspace.symbol.resolveSupport.

See also SymbolInformation.location.


[View source]
def name : String #

The name of this symbol.


[View source]
def name=(name : String) #

The name of this symbol.


[View source]
def tags : Array(SymbolTag) | Nil #

FIXME : How to serialize an array of enums? Tags for this completion item.


[View source]
def tags=(tags : Array(SymbolTag) | Nil) #

FIXME : How to serialize an array of enums? Tags for this completion item.


[View source]