Skip to content

karlolukic/toggle-excluded-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggle Excluded Files

Build

A Cursor/VS Code extension inspired by Finder's Cmd+Shift+. shortcut. Press once to reveal all hidden files; press again to hide them.

Shortcuts

Platform Shortcut
macOS Cmd+Shift+.
Windows / Linux Ctrl+Shift+.
Command Palette Toggle Excluded Files

How It Works

The extension reads your files.exclude patterns, saves them, and clears the setting. On the next press, it restores them.

hidden → press → visible → press → hidden

Configuration

Edit files.exclude in your settings.json — that is the configuration:

"files.exclude": {
    "**/.git": true,
    "**/.venv": true,
    "**/node_modules": true,
    "**/__pycache__": true
}

The extension always saves your latest patterns before clearing. Change them whenever you like.

Install

npx @vscode/vsce package --allow-missing-repository --allow-star-activation
cursor --install-extension toggle-excluded-files-1.0.0.vsix

Replace cursor with code for VS Code.

Notes

Cursor on macOS requires the scan code format shift+cmd+[Period] for the period key. The extension already handles this. Use the same format if you override the keybinding in keybindings.json.

License

MIT

About

Toggle hidden files in VS Code/Cursor Explorer with Cmd+Shift+. — like Finder.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors