mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Move EnvironmentVariableCollection API into ExtensionContext (#96061)
* Move env var collection to ext context * Remove dispose, fix persistent passing * Fire collection change on persistence change * Fix tests by forcing activation and getting ctx * chore: bump js-debug Co-authored-by: Connor Peet <connor@peet.io>
This commit is contained in:
@@ -488,10 +488,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostTerminalService.onDidWriteTerminalData(listener, thisArg, disposables);
|
||||
},
|
||||
getEnvironmentVariableCollection(persistent?: boolean): vscode.EnvironmentVariableCollection {
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostTerminalService.getEnvironmentVariableCollection(extension, persistent);
|
||||
},
|
||||
get state() {
|
||||
return extHostWindow.state;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user