File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -607,13 +607,13 @@ export function activate(context: ExtensionContext): VSNetBeansAPI {
607
607
} ) ) ;
608
608
609
609
async function findRunConfiguration ( uri : vscode . Uri ) : Promise < vscode . DebugConfiguration | undefined > {
610
- // do not invoke debug start with no (java+ ) configurations, as it would probably create an user prompt
610
+ // do not invoke debug start with no (jdk ) configurations, as it would probably create an user prompt
611
611
let cfg = vscode . workspace . getConfiguration ( "launch" ) ;
612
612
let c = cfg . get ( 'configurations' ) ;
613
613
if ( ! Array . isArray ( c ) ) {
614
614
return undefined ;
615
615
}
616
- let f = c . filter ( ( v ) => v [ 'type' ] === 'java+ ' ) ;
616
+ let f = c . filter ( ( v ) => v [ 'type' ] === 'jdk ' ) ;
617
617
if ( ! f . length ) {
618
618
return undefined ;
619
619
}
@@ -626,10 +626,10 @@ export function activate(context: ExtensionContext): VSNetBeansAPI {
626
626
}
627
627
}
628
628
let provider = new P ( ) ;
629
- let d = vscode . debug . registerDebugConfigurationProvider ( 'java+ ' , provider ) ;
629
+ let d = vscode . debug . registerDebugConfigurationProvider ( 'jdk ' , provider ) ;
630
630
// let vscode to select a debug config
631
631
return await vscode . commands . executeCommand ( 'workbench.action.debug.start' , { config : {
632
- type : 'java+ ' ,
632
+ type : 'jdk ' ,
633
633
mainClass : uri . toString ( )
634
634
} , noDebug : true } ) . then ( ( v ) => {
635
635
d . dispose ( ) ;
You can’t perform that action at this time.
0 commit comments