Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkspaceMain

Hierarchy

  • WorkspaceMain

Implemented by

Index

Methods

  • $findTextInFiles(query: TextSearchQuery, options: FindTextInFilesOptions, searchRequestId: number, token?: CancellationToken): Promise<TextSearchComplete>
  • $getWorkspace(): Promise<undefined | FileStat>
  • $onTextDocumentContentChange(uri: string, content: string): void
  • $registerTextDocumentContentProvider(scheme: string): Promise<void>
  • $requestWorkspaceTrust(options?: WorkspaceTrustRequestOptions): Promise<undefined | boolean>
  • $resolveProxy(url: string): Promise<undefined | string>
  • $startFileSearch(includePattern: string, includeFolder: undefined | string, excludePatternOrDisregardExcludes: string | false, maxResults: undefined | number, token: CancellationToken): PromiseLike<UriComponents[]>
  • Parameters

    • includePattern: string
    • includeFolder: undefined | string
    • excludePatternOrDisregardExcludes: string | false
    • maxResults: undefined | number
    • token: CancellationToken

    Returns PromiseLike<UriComponents[]>

  • $unregisterTextDocumentContentProvider(scheme: string): void
  • $updateWorkspaceFolders(start: number, deleteCount?: number, ...rootsToAdd: string[]): Promise<void>