Class DefaultWorkspaceSymbolProvider

Shared service for handling workspace symbols requests.

Implements

Constructors

Properties

fuzzyMatcher: FuzzyMatcher
indexManager: IndexManager
nodeKindProvider: NodeKindProvider

Methods

  • Handle a workspace symbols request.

    Parameters

    • params: WorkspaceSymbolParams

      workspaces symbols request parameters

    • cancelToken: CancellationToken = CancellationToken.None

      a cancellation token tha can be used to cancel the request

    Returns Promise<WorkspaceSymbol[]>

    a list of workspace symbols

    OperationCancelled if cancellation is detected during execution

    ResponseError if an error is detected that should be sent as response to the client