A VS Code extension that toggles the explorer.excludeGitIgnore setting.
Adds a command you can bind to any key. Defaults to Ctrl+Alt+A.
Build the extension using Docker:
./build-extensionThis will:
- Use the
node:20-alpineDocker image - Mount your project directory into the container
- Install dependencies, compile TypeScript, and package the extension
- Output the
.vsixfile to theout/directory
Install the extension in VS Code:
code --install-extension out/*.vsixAdd following with your desired keybinding to keybinding.json.
{
"command": "gitignore-toggle.toggle",
"key": "ctrl+shift+g"
}- Save the file (
Ctrl+S/Cmd+S)