Interface WorkspaceServer

interface WorkspaceServer {
    getMostRecentlyUsedWorkspace(): Promise<undefined | string>;
    getRecentWorkspaces(): Promise<string[]>;
    removeRecentWorkspace(uri): Promise<void>;
    setMostRecentlyUsedWorkspace(uri): Promise<void>;
}

Implemented by

Methods

  • Returns with a promise that resolves to the most recently used workspace folder URI as a string. Resolves to undefined if the workspace folder is not yet set.

    Returns Promise<undefined | string>