Options
All
  • Public
  • Public/Protected
  • All
Menu

Module workspace

The logical workspace that the extension is running in, which may consist of multiple folders, projects, and repositories.

Index

Variables

Const onDidChangeRoots

onDidChangeRoots: Subscribable<void>

An event that is fired when a workspace root is added or removed from the workspace.

deprecated

Renamed to {@link workspace.rootsChanges}.

Const onDidOpenTextDocument

onDidOpenTextDocument: Subscribable<TextDocument>

An event that is fired when a new text document is opened.

deprecated

Renamed to workspace.openedTextDocuments.

Const openedTextDocuments

openedTextDocuments: Subscribable<TextDocument>

An event that is fired when a new text document is opened.

Const rootChanges

rootChanges: Subscribable<void>

An event that is fired when a workspace root is added or removed from the workspace.

Const roots

roots: ReadonlyArray<WorkspaceRoot>

The root directories of the workspace, if any.

example

The repository that is currently being viewed is a root.

todo

Currently only a single root is supported.

readonly

Const textDocuments

textDocuments: TextDocument[]

All text documents currently known to the system.

readonly

Generated using TypeDoc