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) {
17
17
// The command has been defined in the package.json file
18
18
// Now provide the implementation of the command with registerCommand
19
19
// 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 ( ) {
21
21
// The code you place here will be executed every time your command is executed
22
22
23
23
// 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) {
13
13
// The command has been defined in the package.json file
14
14
// Now provide the implementation of the command with registerCommand
15
15
// 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' , ( ) => {
17
17
// The code you place here will be executed every time your command is executed
18
18
// Display a message box to the user
19
19
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) {
13
13
// The command has been defined in the package.json file
14
14
// Now provide the implementation of the command with registerCommand
15
15
// 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' , ( ) => {
17
17
// The code you place here will be executed every time your command is executed
18
18
19
19
// Display a message box to the user
You can’t perform that action at this time.
0 commit comments