MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / isANotebookOpen

Function isANotebookOpen

src/test/initialize.ts:105–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105function isANotebookOpen() {
106 if (!isInsiders()) {
107 return false;
108 }
109 /* eslint-disable */
110 if (Array.isArray(vscode.window.visibleNotebookEditors) && vscode.window.visibleNotebookEditors.length) {
111 return true;
112 }
113 return !!vscode.window.activeNotebookEditor;
114}

Callers 2

closeWindowsAndNotebooksFunction · 0.85
closeWindowsInternalFunction · 0.85

Calls 1

isInsidersFunction · 0.85

Tested by

no test coverage detected