We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c810a04 commit 639c353Copy full SHA for 639c353
src/extension.ts
@@ -27,6 +27,7 @@ interface LanguageServerConfig {
27
readonly log?: boolean | string;
28
readonly env?: any;
29
readonly flags?: string[];
30
+ readonly realTimeDiagnostics?: boolean;
31
}
32
33
interface DebugConfig {
@@ -202,6 +203,9 @@ async function buildLanguageClient(config: LanguageServerConfig): Promise<Langua
202
203
if (board.name) {
204
args.push('-board-name', board.name);
205
206
+ if (typeof config.realTimeDiagnostics === 'boolean' && !config.realTimeDiagnostics) {
207
+ args.push('-no-real-time-diagnostics');
208
+ }
209
if (flags && flags.length) {
210
args.push(...flags);
211
0 commit comments