mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Merge with master
This commit is contained in:
@@ -256,9 +256,9 @@ export function createApiFactory(
|
||||
get clipboard(): vscode.Clipboard {
|
||||
return extHostClipboard;
|
||||
},
|
||||
open: proposedApiFunction(extension, (uri: URI) => {
|
||||
open(uri: URI) {
|
||||
return extHostWindow.openUri(uri);
|
||||
})
|
||||
}
|
||||
});
|
||||
|
||||
// namespace: extensions
|
||||
@@ -272,6 +272,9 @@ export function createApiFactory(
|
||||
},
|
||||
get all(): Extension<any>[] {
|
||||
return extensionRegistry.getAllExtensionDescriptions().map((desc) => new Extension(extensionService, desc));
|
||||
},
|
||||
get onDidChange() {
|
||||
return extensionRegistry.onDidChange;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user