Skip to content

Commit

Permalink
Proactively handle exclude settings. (#8492)
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-mcmanus authored Dec 7, 2021
1 parent ed98521 commit 50e3a2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Extension/src/LanguageServer/settingsTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ export class SettingsTracker {
|| key === "codeAnalysis.clangTidy.path"
|| key === "codeAnalysis.clangTidy.headerFilter" || key === "codeAnalysis.clangTidy.args"
|| key === "codeAnalysis.clangTidy.config" || key === "codeAnalysis.clangTidy.fallbackConfig"

// Note: An existing bug prevents these settings of type "object" from getting processed here,
// so these checks are here just in case that bug gets fixed later on.
|| key === "files.exclude" || key === "codeAnalysis.exclude"
) {
value = this.areEqual(val, settings.inspect(key)?.defaultValue) ? "<default>" : "..."; // Track whether it's being used, but nothing specific about it.
} else {
Expand Down

0 comments on commit 50e3a2f

Please sign in to comment.