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:
Daniel Imms
2020-04-24 16:45:30 -07:00
committed by GitHub
parent 00ec9390a4
commit 7f5bada046
8 changed files with 73 additions and 79 deletions

View File

@@ -6,6 +6,6 @@
import * as vscode from 'vscode';
export function activate(_context: vscode.ExtensionContext) {
// noop
// Set context as a global as some tests depend on it
(global as any).testExtensionContext = _context;
}