Toggle "Explorer: Exclude Git Ignore" (explorer.excludeGitIgnore
) setting globally in user settings.
When explorer.excludeGitIgnore
is also defined in workspace settings, it is removed from there for two reasons:
- this way the workspace setting does not override the global setting set by the extension;
- user interface settings like this one should better be kept in user settings, not workspace settings, which are often pushed to a source code repository.
Option 1: Command Palette > Explorer: Toggle Git Ignore
Option 2: Default keyboard shortcut: Ctrl-Alt-E (Windows) / Cmd-Option-E (Mac)
To memorize the shortcut, think of the default shortcut for focusing the Explorer panel: Ctrl-Shift-E / Shift-Cmd-E.
To reassign the shortcut, open keyboard shortcuts and look for "Explorer: Toggle Git Ignore" or earshinov.toggleExcludeGitIgnore
.
Extension | Comment |
---|---|
chrisbibby.hide-git-ignored | Toggles explorer.excludeGitIgnore in workspace settings rather than globally.There is a reported issue filed in November 2023: Make settings applied globaly · Issue #2 · ChrisBibby/vscode_hide-git-ignored |
timgthomas.explorer-gitignore | Toggles explorer.excludeGitIgnore in workspace settings rather than globally |
balan-jayavictor.GitIgnored | No source code available |