• Create a new workspace symbol.

    Parameters

    • name: string

      The name of the symbol.

    • kind: SymbolKind

      The kind of the symbol.

    • uri: string

      The resource of the location of the symbol.

    • Optionalrange: Range

      An options range of the location.

    Returns WorkspaceSymbol

    A WorkspaceSymbol.