interface WorkspaceMain {
    $findTextInFiles(query, options, searchRequestId, token?): Promise<TextSearchComplete>;
    $getCanonicalUri(uri, targetScheme, token): Promise<undefined | string>;
    $getWorkspace(): Promise<undefined | FileStat>;
    $onTextDocumentContentChange(uri, content): void;
    $pickWorkspaceFolder(options): Promise<undefined | WorkspaceFolder>;
    $registerCanonicalUriProvider(scheme): Promise<undefined | void>;
    $registerTextDocumentContentProvider(scheme): Promise<void>;
    $requestWorkspaceTrust(options?): Promise<undefined | boolean>;
    $resolveProxy(url): Promise<undefined | string>;
    $startFileSearch(includePattern, includeFolder, excludePatternOrDisregardExcludes, maxResults, token): PromiseLike<UriComponents[]>;
    $unregisterCanonicalUriProvider(scheme): void;
    $unregisterTextDocumentContentProvider(scheme): void;
    $updateWorkspaceFolders(start, deleteCount?, ...rootsToAdd): Promise<void>;
}

Implemented by

Methods

  • Parameters

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

    Returns PromiseLike<UriComponents[]>