You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have an extension with the following code and run it:
'use strict';// The module 'vscode' contains the VS Code extensibility API// Import the module and reference it with the alias vscode in your code belowimport*asvscodefrom'vscode';// this method is called when your extension is activated// your extension is activated the very first time the command is executedexportfunctionactivate(context: vscode.ExtensionContext){// Use the console to output diagnostic information (console.log) and errors (console.error)// This line of code will only be executed once when your extension is activatedconsole.log('Congratulations, your extension "test-ts" is now active!');// The command has been defined in the package.json file// Now provide the implementation of the command with registerCommand// The commandId parameter must match the command field in package.jsonletdisposable=vscode.commands.registerCommand('extension.sayHello',()=>{// The code you place here will be executed every time your command is executed// Display a message box to the userconsole.log(1)vscode.window.showSaveDialog({});setTimeout(()=>{console.log(2)vscode.window.showInformationMessage("message",{modal: true});},1000);});context.subscriptions.push(disposable);}// this method is called when your extension is deactivatedexportfunctiondeactivate(){}
=> the window freezes
The text was updated successfully, but these errors were encountered:
Due to electron/electron#11323
Steps:
=> the window freezes
The text was updated successfully, but these errors were encountered: