mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
rename namespace to notebooks, https://github.com/microsoft/vscode/issues/122922
This commit is contained in:
@@ -1054,7 +1054,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
};
|
||||
|
||||
// namespace: notebook
|
||||
const notebook: typeof vscode.notebook = {
|
||||
const notebooks: typeof vscode.notebooks = {
|
||||
async openNotebookDocument(uriOrOptions?: URI | string, content?: vscode.NotebookData) {
|
||||
checkProposedApiEnabled(extension);
|
||||
let uri: URI;
|
||||
@@ -1144,7 +1144,8 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
env,
|
||||
extensions,
|
||||
languages,
|
||||
notebook,
|
||||
notebooks,
|
||||
notebook: notebooks,
|
||||
scm,
|
||||
tasks,
|
||||
test,
|
||||
|
||||
Reference in New Issue
Block a user