mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 15:55:59 +01:00
Add proposed API support for agent sessions workspace (#290385)
* Add proposed API support for agent sessions workspace * add access to agentSessionsWorkspace proposed api
This commit is contained in:
committed by
GitHub
parent
05c127e30e
commit
d4d37b83e0
@@ -1009,6 +1009,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
set workspaceFile(value) {
|
||||
throw new errors.ReadonlyError('workspaceFile');
|
||||
},
|
||||
get isAgentSessionsWorkspace() {
|
||||
checkProposedApiEnabled(extension, 'agentSessionsWorkspace');
|
||||
return extHostWorkspace.isAgentSessionsWorkspace;
|
||||
},
|
||||
updateWorkspaceFolders: (index, deleteCount, ...workspaceFoldersToAdd) => {
|
||||
return extHostWorkspace.updateWorkspaceFolders(extension, index, deleteCount || 0, ...workspaceFoldersToAdd);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user