@@ -46,7 +46,7 @@ namespace IntellisenseState {
4646export class IntellisenseStatus extends Disposable {
4747
4848 public readonly openOpenConfigCommandId = '_typescript.openConfig' ;
49- public readonly createConfigCommandId = '_typescript.createConfig ' ;
49+ public readonly createOrOpenConfigCommandId = '_typescript.createOrOpenConfig ' ;
5050
5151 private _statusItem ?: vscode . LanguageStatusItem ;
5252
@@ -71,7 +71,7 @@ export class IntellisenseStatus extends Disposable {
7171 } ,
7272 } ) ;
7373 commandManager . register ( {
74- id : this . createConfigCommandId ,
74+ id : this . createOrOpenConfigCommandId ,
7575 execute : async ( rootPath : string , projectType : ProjectType ) => {
7676 await openOrCreateConfig ( projectType , rootPath , this . _client . configuration ) ;
7777 } ,
@@ -178,10 +178,10 @@ export class IntellisenseStatus extends Disposable {
178178 statusItem . text = noConfigFileText ;
179179 statusItem . detail = undefined ;
180180 statusItem . command = {
181- command : this . createConfigCommandId ,
181+ command : this . createOrOpenConfigCommandId ,
182182 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" ) ,
185185 arguments : [ rootPath ] ,
186186 } ;
187187 } else {
0 commit comments