File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function activate(context) {
1717 // The command has been defined in the package.json file
1818 // Now provide the implementation of the command with registerCommand
1919 // The commandId parameter must match the command field in package.json
20- let disposable = vscode . commands . registerCommand ( '<%= name %>.helloWorld' , function ( ) {
20+ const disposable = vscode . commands . registerCommand ( '<%= name %>.helloWorld' , function ( ) {
2121 // The code you place here will be executed every time your command is executed
2222
2323 // Display a message box to the user
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
1313 // The command has been defined in the package.json file
1414 // Now provide the implementation of the command with registerCommand
1515 // The commandId parameter must match the command field in package.json
16- let disposable = vscode . commands . registerCommand ( '<%= name %>.helloWorld' , ( ) => {
16+ const disposable = vscode . commands . registerCommand ( '<%= name %>.helloWorld' , ( ) => {
1717 // The code you place here will be executed every time your command is executed
1818 // Display a message box to the user
1919 vscode . window . showInformationMessage ( 'Hello World from <%= displayName %>!' ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
1313 // The command has been defined in the package.json file
1414 // Now provide the implementation of the command with registerCommand
1515 // The commandId parameter must match the command field in package.json
16- let disposable = vscode . commands . registerCommand ( '<%= name %>.helloWorld' , ( ) => {
16+ const disposable = vscode . commands . registerCommand ( '<%= name %>.helloWorld' , ( ) => {
1717 // The code you place here will be executed every time your command is executed
1818
1919 // Display a message box to the user
You can’t perform that action at this time.
0 commit comments