Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Pammit: Git Commit Path AutocompleteNew to Visual Studio Code? Get it now.
Pammit: Git Commit Path Autocomplete

Pammit: Git Commit Path Autocomplete

Gusti Tammam

|
11 installs
| (0) | Free
Instantly insert staged file & folder paths into your Git commits with Pammit
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pammit: Git Commit Path Autocomplete

Visual Studio Marketplace Version License: MIT

Pammit Screenshot

Pammit is a lightweight VS Code extension that supercharges your Git commit workflow by letting you instantly insert staged file and folder paths into your commit messages—no more switching back to Explorer or typing long relative paths by hand.


Installation

  1. Open Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for Pammit.
  4. Click Install.

✨ Key Features

  • Inline & Editor Support: Trigger path suggestions directly in the SCM commit box or in the full editor.
  • Smart Staged-Only Completion: Only proposes files and folders you’ve staged (git add).
  • Relative Paths: Inserts paths relative to your workspace root for consistency.
  • Zero Configuration: Install and go—Pammit works out of the box.
  • Multi-Repo Friendly: Always matches the repository selected in the SCM view, with a status bar selector for manual override.
  • Configurable Path Display: Use the pammit.showFullPath setting to toggle between full relative paths and just top-level names.

💡 Usage

  1. Stage your changes with git add.
  2. Focus your commit-message box (inline or editor).
  3. Trigger suggestions by typing . or /, or pressing Ctrl+Space (⌃Space on macOS).
  4. Select the entry you want and hit Enter.
  5. Switch repositories using the status bar selector if needed in multi-repo workspaces.

⚙️ Configuration

Setting Description Default
pammit.enabled Enable/disable Pammit path completion. true
pammit.showFullPath Show full relative paths (e.g. src/components/Button.tsx) instead of top-level names (Button.tsx). false

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

Please read the CONTRIBUTING.md file for details on our code of conduct and the process for submitting pull requests.

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

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