lazy load webview if there is no webview outputs or not kernel dependencies

This commit is contained in:
rebornix
2020-07-21 11:06:53 -07:00
parent cf9d6d7667
commit 9c467b969c
3 changed files with 97 additions and 43 deletions

View File

@@ -933,7 +933,7 @@ suite('webview', () => {
// await vscode.commands.executeCommand('vscode.openWith', resource, 'notebookCoreTest');
// assert.equal(vscode.notebook.activeNotebookEditor !== undefined, true, 'notebook first');
// const uri = vscode.notebook.activeNotebookEditor!.asWebviewUri(vscode.Uri.file('./hello.png'));
// assert.equal(uri.scheme, 'vscode-resource');
// assert.equal(uri.scheme, 'vscode-webview-resource');
// await vscode.commands.executeCommand('workbench.action.closeAllEditors');
// });