A VS Code extension to manage scratch files in your workspace without cluttering your git repository.
Features
Create Scratch Files: Easily create Python (.py) or Bash (.sh) files with any name you want.
Auto-Ignore: All files in the scratch_files/ folder are automatically excluded from git tracking using .git/info/exclude. This keeps your .gitignore clean and your scratch files local.
Workspace Accessible: Files live in your workspace's scratch_files/ folder, so they work seamlessly with your local environments (venv, pipenv, etc.).
Promote to Tracked: Ready to commit? Easily rename and "promote" a scratch file to a regular tracked file outside the scratch folder.
Explorer View: Dedicated view to manage your scratch files.
Usage
Create: Open Command Palette (Cmd+Shift+P) and run Scratchd: Create Scratch File.
View: Check the "Scratchd" view in the Explorer sidebar.
Promote: Right-click a scratch file and select Promote to Tracked.
How it works
The extension appends scratch_files/ to your workspace's .git/info/exclude file. This is a standard git mechanism for locally ignoring files without sharing the ignore rule with others. All files you create in the scratch_files/ folder will be automatically ignored by git, regardless of their name.