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.
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.
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.