@@ -46,7 +46,7 @@ namespace IntellisenseState {
46
46
export class IntellisenseStatus extends Disposable {
47
47
48
48
public readonly openOpenConfigCommandId = '_typescript.openConfig' ;
49
- public readonly createConfigCommandId = '_typescript.createConfig ' ;
49
+ public readonly createOrOpenConfigCommandId = '_typescript.createOrOpenConfig ' ;
50
50
51
51
private _statusItem ?: vscode . LanguageStatusItem ;
52
52
@@ -71,7 +71,7 @@ export class IntellisenseStatus extends Disposable {
71
71
} ,
72
72
} ) ;
73
73
commandManager . register ( {
74
- id : this . createConfigCommandId ,
74
+ id : this . createOrOpenConfigCommandId ,
75
75
execute : async ( rootPath : string , projectType : ProjectType ) => {
76
76
await openOrCreateConfig ( projectType , rootPath , this . _client . configuration ) ;
77
77
} ,
@@ -178,10 +178,10 @@ export class IntellisenseStatus extends Disposable {
178
178
statusItem . text = noConfigFileText ;
179
179
statusItem . detail = undefined ;
180
180
statusItem . command = {
181
- command : this . createConfigCommandId ,
181
+ command : this . createOrOpenConfigCommandId ,
182
182
title : this . _state . projectType === ProjectType . TypeScript
183
- ? vscode . l10n . t ( "Create tsconfig" )
184
- : vscode . l10n . t ( "Create jsconfig" ) ,
183
+ ? vscode . l10n . t ( "Configure tsconfig" )
184
+ : vscode . l10n . t ( "Configure jsconfig" ) ,
185
185
arguments : [ rootPath ] ,
186
186
} ;
187
187
} else {
0 commit comments