Add explorer.autorevealExclude setting (#136905)

* Add explorer.autorevealExclude setting

* Update setting name, only check sibling once

* linting

* Correct boolean order and add catch for force reveal

* Check for force instead of converting

* Do not make revealexcludes inherit from file.excludes

* Linting
This commit is contained in:
Robert Jin
2022-11-14 20:50:55 +00:00
committed by GitHub
parent bdf8dd00e4
commit fbaacfb921
9 changed files with 89 additions and 10 deletions

View File

@@ -26,8 +26,8 @@ export class SettingsDocument {
return this.provideFilesAssociationsCompletionItems(location, position);
}
// files.exclude, search.exclude
if (location.path[0] === 'files.exclude' || location.path[0] === 'search.exclude') {
// files.exclude, search.exclude, explorer.autoRevealExclude
if (location.path[0] === 'files.exclude' || location.path[0] === 'search.exclude' || location.path[0] === 'explorer.autoRevealExclude') {
return this.provideExcludeCompletionItems(location, position);
}