Interface WorkspaceFolder

A workspace folder is one of potentially many roots opened by the editor. All workspace folders are equal which means there is no notion of an active or master workspace folder.

interface WorkspaceFolder {
    index: number;
    name: string;
    uri: Uri;
}

Properties

Properties

index: number

The ordinal number of this workspace folder.

name: string

The name of this workspace folder. Defaults to the basename of its uri-path

uri: Uri

The associated uri for this workspace folder.

Note: The Uri-type was intentionally chosen such that future releases of the editor can support workspace folders that are not stored on the local disk, e.g. ftp://server/workspaces/foo.