Skip to content

Commit 50e3a2f

Browse files
authored
Proactively handle exclude settings. (#8492)
1 parent ed98521 commit 50e3a2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Extension/src/LanguageServer/settingsTracker.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ export class SettingsTracker {
181181
|| key === "codeAnalysis.clangTidy.path"
182182
|| key === "codeAnalysis.clangTidy.headerFilter" || key === "codeAnalysis.clangTidy.args"
183183
|| key === "codeAnalysis.clangTidy.config" || key === "codeAnalysis.clangTidy.fallbackConfig"
184+
185+
// Note: An existing bug prevents these settings of type "object" from getting processed here,
186+
// so these checks are here just in case that bug gets fixed later on.
187+
|| key === "files.exclude" || key === "codeAnalysis.exclude"
184188
) {
185189
value = this.areEqual(val, settings.inspect(key)?.defaultValue) ? "<default>" : "..."; // Track whether it's being used, but nothing specific about it.
186190
} else {

0 commit comments

Comments
 (0)