File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 246
246
" 25.04" ,
247
247
" 24.10"
248
248
],
249
- "default" : " 24.10 " ,
249
+ "default" : " 25.04 " ,
250
250
"markdownDescription" : " Nextflow language version to be used by the language server."
251
251
},
252
252
"nextflow.telemetry.enabled" : {
Original file line number Diff line number Diff line change @@ -176,7 +176,10 @@ export function activateLanguageServer(
176
176
trackEvent : TrackEvent
177
177
) {
178
178
vscode . workspace . onDidChangeConfiguration ( ( event : vscode . ConfigurationChangeEvent ) => {
179
- if ( event . affectsConfiguration ( "nextflow.java.home" ) ) {
179
+ const shouldRestart =
180
+ event . affectsConfiguration ( "nextflow.java.home" ) ||
181
+ event . affectsConfiguration ( "nextflow.languageVersion" ) ;
182
+ if ( shouldRestart ) {
180
183
restartLanguageServer ( context ) ;
181
184
}
182
185
} ) ;
@@ -188,7 +191,9 @@ export function activateLanguageServer(
188
191
"nextflow.languageServer.restart" ,
189
192
( ) => { restartLanguageServer ( context ) ; }
190
193
) ;
191
- vscode . commands . registerCommand ( "nextflow.languageServer.stop" , stopLanguageServer ) ;
194
+ vscode . commands . registerCommand ( "nextflow.languageServer.stop" ,
195
+ ( ) => { stopLanguageServer ( ) ; }
196
+ ) ;
192
197
vscode . commands . registerCommand (
193
198
"nextflow.openFileFromWebview" ,
194
199
async ( uriString : string ) => {
You can’t perform that action at this time.
0 commit comments