mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
extract auth#session into its own proposal file, make isProposedApiEnabled and checkProposedApiEnabled more strict by forcing them to be called with undefined or a proposal name, https://github.com/microsoft/vscode/issues/131165
This commit is contained in:
@@ -32,7 +32,7 @@ export class ExtHostNotebookRenderers implements ExtHostNotebookRenderersShape {
|
||||
|
||||
// In the stable API, the editor is given as an empty object, and this map
|
||||
// is used to maintain references. This can be removed after editor finalization.
|
||||
const notebookEditorVisible = isProposedApiEnabled(manifest);
|
||||
const notebookEditorVisible = isProposedApiEnabled(manifest, 'notebookEditor');
|
||||
const notebookEditorAliases = new WeakMap<{}, vscode.NotebookEditor>();
|
||||
|
||||
const messaging: vscode.NotebookRendererMessaging = {
|
||||
|
||||
Reference in New Issue
Block a user