Readonly
_Readonly
onAn event which fires on workbench state changes.
Protected
Readonly
onReadonly
onAn event which fires on workspace folders change.
Protected
Readonly
onReadonly
onAn event which fires on workspace name changes.
Protected
Readonly
onReadonly
onAn event which fires before workspace folders change.
Protected
Readonly
onProtected
workspaceProvides access to the complete workspace object.
Return the state of the workbench.
WorkbenchState.EMPTY - if the workbench was opened with empty window or file WorkbenchState.FOLDER - if the workbench was opened with a folder WorkbenchState.WORKSPACE - if the workbench was opened with a workspace
Provides access to the workspace object the window is running with.
Use getCompleteWorkspace
to get complete workspace object.
Returns the folder for the given resource from the workspace. Can be null if there is no workspace or the resource is not inside the workspace.
Return true
if the current workspace has the given identifier or root URI otherwise false
.
Returns if the provided resource is inside the workspace or not.
A minimal implementation of IWorkspaceContextService to replace the
StandaloneWorkspaceContextService
in Monaco as a workaround for the issue of showing no context menu for editor minimap (#15217).