Skip to content

Commit d4833af

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
#1207: Forward the realTimeDiagnostics to the LS.
Closes #1207. Signed-off-by: Akos Kitta <[email protected]>
1 parent 8ad10b5 commit d4833af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: arduino-ide-extension/src/browser/contributions/ino-language.ts

+4
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ export class InoLanguage extends SketchContribution {
107107
}
108108
this.logger.info(`Starting language server: ${fqbn}`);
109109
const log = this.preferences.get('arduino.language.log');
110+
const realTimeDiagnostics = this.preferences.get(
111+
'arduino.language.realTimeDiagnostics'
112+
);
110113
let currentSketchPath: string | undefined = undefined;
111114
if (log) {
112115
const currentSketch = await this.sketchServiceClient.currentSketch();
@@ -141,6 +144,7 @@ export class InoLanguage extends SketchContribution {
141144
fqbn,
142145
name: name ? `"${name}"` : undefined,
143146
},
147+
realTimeDiagnostics,
144148
}
145149
),
146150
]);

0 commit comments

Comments
 (0)