@@ -392,14 +392,10 @@ export class ArduinoFrontendContribution
392
392
) ;
393
393
}
394
394
}
395
- const { clangdUri, cliUri , lsUri } = await this . executableService . list ( ) ;
396
- const [ clangdPath , cliPath , lsPath , cliConfigPath ] = await Promise . all ( [
395
+ const { clangdUri, lsUri } = await this . executableService . list ( ) ;
396
+ const [ clangdPath , lsPath ] = await Promise . all ( [
397
397
this . fileService . fsPath ( new URI ( clangdUri ) ) ,
398
- this . fileService . fsPath ( new URI ( cliUri ) ) ,
399
398
this . fileService . fsPath ( new URI ( lsUri ) ) ,
400
- this . fileService . fsPath (
401
- new URI ( await this . configService . getCliConfigFileUri ( ) )
402
- ) ,
403
399
] ) ;
404
400
this . languageServerFqbn = await Promise . race ( [
405
401
new Promise < undefined > ( ( _ , reject ) =>
@@ -412,10 +408,10 @@ export class ArduinoFrontendContribution
412
408
'arduino.languageserver.start' ,
413
409
{
414
410
lsPath,
415
- cliPath ,
411
+ cliDaemonAddr : 'localhost:50051' ,
416
412
clangdPath,
417
413
log : currentSketchPath ? currentSketchPath : log ,
418
- cliConfigPath ,
414
+ cliDaemonInstance : '1' ,
419
415
board : {
420
416
fqbn,
421
417
name : name ? `"${ name } "` : undefined ,
0 commit comments