Protected
Readonly
cliProtected
Readonly
envProtected
rootProtected
Readonly
untitledProtected
untitledUntitled workspaces that are not among the most recent N workspaces will be deleted on start. Increase this number to keep older files, lower it to delete stale untitled workspaces more aggressively.
Protected
Readonly
workspaceProtected
doReturns with a promise that resolves to the most recently used workspace folder URI as a string.
Resolves to undefined
if the workspace folder is not yet set.
Returns list of recently opened workspaces as an array.
Protected
getProtected
getProtected
getProtected
initCalled right after the server for the Express app is started. Use this to additionally configure the server or as ready-signal for your service.
The implementation may be async, however it will still block the startup step until it's resolved.
either undefined
or a Promise resolving to undefined
.
Protected
readProtected
readReads the most recently used workspace root from the user's home directory.
Protected
removeRemoves untitled workspaces that are not among the most recently used workspaces.
Use the untitledWorkspaceStaleThreshold
to configure when to delete workspaces.
Removes a workspace from the list of recently opened workspaces.
the workspace uri.
Sets the desired string representation of the URI as the most recently used workspace folder.
Protected
workspaceProtected
writeProtected
writeWrites the given uri as the most recently used workspace root to the user's home directory.
Contribution for hooking into the backend lifecycle:
initialize()
configure(expressApp)
onStart(httpServer)
onStop()