Protected
_readyProtected
_rootsProtected
_workspaceProtected
deferredProtected
Readonly
envProtected
Readonly
fileProtected
Readonly
fsProtected
Readonly
labelProtected
loggerProtected
Readonly
messageProtected
Readonly
onProtected
Readonly
onProtected
Readonly
openProtected
Readonly
preferenceProtected
preferencesProtected
Readonly
rootProtected
Readonly
schemaProtected
Readonly
schemaProtected
Readonly
serverProtected
Readonly
toProtected
Readonly
untitledProtected
Readonly
windowProtected
Readonly
windowProtected
Readonly
workspaceReturns true
if a multiple-root workspace is currently open.
Returns true
if theia has an opened workspace or folder
true
if the current workspace is configured using a configuration file.
false
if there is no workspace or the workspace is simply a folder.
Protected
computeProtected
doProtected
doProtected
doOptional
options: WorkspaceInputProtected
getResolves to the default workspace URI as string.
The default implementation tries to extract the default workspace location
from the window.location.hash
, then falls-back to the most recently
used workspace root from the server.
It is not ensured that the resolved workspace URI is valid, it can point to a non-existing location.
Protected
getProtected
getReturns the workspace root uri that the given file belongs to.
In case that the file is found in more than one workspace roots, returns the root that is closest to the file.
If the file is not from the current workspace, returns undefined
.
URI of the file
Protected
initProtected
isOpens directory, or recreates a workspace from the file that uri
points to.
Optional
options: WorkspaceInputProtected
openOptional
options: WorkspaceInputProtected
openOptional
options: WorkspaceInputOptional
options: WorkspaceInputProtected
refreshProtected
reloadOptional
options: WorkspaceInputProtected
setURLFragmentProtected
setProtected
shouldOptional
options: WorkspaceInputProtected
toProtected
toProtected
updateProtected
updateProtected
updateProtected
watchProtected
watchProtected
write
The workspace service.