VS Code API
    Preparing search index...

    Namespace workspace

    Namespace for dealing with the current workspace. A workspace is the collection of one or more folders that are opened in an editor window (instance).

    It is also possible to open an editor without a workspace. For example, when you open a new editor window by selecting a file from your platform's File menu, you will not be inside a workspace. In this mode, some of the editor's capabilities are reduced but you can still open text files and edit them.

    Refer to https://code.visualstudio.com/docs/editor/workspaces for more information on the concept of workspaces.

    The workspace offers support for listening to fs events and for finding files. Both perform well and run outside the editor-process so that they should be always used instead of nodejs-equivalents.

    Variables

    fs
    isTrusted
    name
    notebookDocuments
    onDidChangeConfiguration
    onDidChangeNotebookDocument
    onDidChangeTextDocument
    onDidChangeWorkspaceFolders
    onDidCloseNotebookDocument
    onDidCloseTextDocument
    onDidCreateFiles
    onDidDeleteFiles
    onDidGrantWorkspaceTrust
    onDidOpenNotebookDocument
    onDidOpenTextDocument
    onDidRenameFiles
    onDidSaveNotebookDocument
    onDidSaveTextDocument
    onWillCreateFiles
    onWillDeleteFiles
    onWillRenameFiles
    onWillSaveNotebookDocument
    onWillSaveTextDocument
    rootPath
    textDocuments
    workspaceFile
    workspaceFolders

    Functions

    applyEdit
    asRelativePath
    createFileSystemWatcher
    decode
    encode
    findFiles
    getConfiguration
    getWorkspaceFolder
    openNotebookDocument
    openTextDocument
    registerFileSystemProvider
    registerNotebookSerializer
    registerTaskProvider
    registerTextDocumentContentProvider
    save
    saveAll
    saveAs
    updateWorkspaceFolders