Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ScratchdNew to Visual Studio Code? Get it now.
Scratchd

Scratchd

Mbugua Newton

|
3 installs
| (0) | Free
Manage scratch files in your workspace without git tracking.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Scratchd

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

  1. Create: Open Command Palette (Cmd+Shift+P) and run Scratchd: Create Scratch File.
  2. View: Check the "Scratchd" view in the Explorer sidebar.
  3. 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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft