Binarii Hidden
Toggle the visibility of dotfiles (files and folders starting with .) in the VS Code Explorer with a single click.
Features
- One-click toggle — Eye icon in the Explorer title bar to show/hide dotfiles
- Persistent state — Your preference is remembered across sessions
- Workspace defaults — Project maintainers can set
hiddenByDefault in .vscode/settings.json
- Custom patterns — Hide additional files/folders beyond dotfiles (e.g.
node_modules, dist)
Getting Started
- Install the extension
- Open the Explorer sidebar
- Click the eye icon in the Explorer title bar to toggle dotfiles
Settings
| Setting |
Type |
Default |
Description |
binarii-hidden.hiddenByDefault |
boolean |
false |
Hide dotfiles by default when opening a workspace |
binarii-hidden.extraPatterns |
string[] |
[] |
Additional glob patterns to hide when the toggle is active |
Workspace default
Project maintainers can add this to .vscode/settings.json to hide dotfiles by default for all contributors:
{
"binarii-hidden.hiddenByDefault": true,
"binarii-hidden.extraPatterns": [
"node_modules",
"dist",
"*.log"
]
}
Individual users can always override by clicking the eye icon — this modifies their user settings, not the workspace.
How it works
The extension toggles the **/.* pattern (plus any extraPatterns) in files.exclude at the user (global) configuration level. This means:
- Clicking the toggle never modifies your repo's
.vscode/settings.json
- The
hiddenByDefault workspace setting only applies as the initial state
License
MIT
| |