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>
getRecentWorkspaces
getRecentWorkspaces(): Promise<string[]>
Returns list of recently opened workspaces as an array.
Returns Promise<string[]>
removeRecentWorkspace
removeRecentWorkspace(uri): Promise<void>
Removes a workspace from the list of recently opened workspaces.
Parameters
uri: string
the workspace uri.
Returns Promise<void>
setMostRecentlyUsedWorkspace
setMostRecentlyUsedWorkspace(uri): Promise<void>
Sets the desired string representation of the URI as the most recently used workspace folder.
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.