WorkspaceSymbol

case class WorkspaceSymbol(location: Location | S0, data: Opt[Value], name: String, kind: SymbolKind, tags: Opt[Vector[SymbolTag]], containerName: Opt[String])

A special workspace symbol that supports locations without a range.

See also SymbolInformation.

Value parameters:
containerName

The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols.

data

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

kind

The kind of this symbol.

location

The location of the symbol. Whether a server is allowed to return a location without a range depends on the client capability workspace.symbol.resolveSupport. See SymbolInformation#location for more details.

name

The name of this symbol.

tags

Tags for this symbol. since 3.16.0

Since:

3.17.0

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product