mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
move function to env, rename to openItem #66741
This commit is contained in:
@@ -255,7 +255,10 @@ export function createApiFactory(
|
||||
},
|
||||
get clipboard(): vscode.Clipboard {
|
||||
return extHostClipboard;
|
||||
}
|
||||
},
|
||||
openItem: proposedApiFunction(extension, (uri: URI) => {
|
||||
return extHostWindow.openUri(uri);
|
||||
})
|
||||
});
|
||||
|
||||
// namespace: extensions
|
||||
@@ -496,10 +499,7 @@ export function createApiFactory(
|
||||
},
|
||||
createInputBox(): vscode.InputBox {
|
||||
return extHostQuickOpen.createInputBox(extension.identifier);
|
||||
},
|
||||
open: proposedApiFunction(extension, (uri: URI) => {
|
||||
return extHostWindow.openUri(uri);
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
// namespace: workspace
|
||||
|
||||
Reference in New Issue
Block a user