Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>PinnetNew to Visual Studio Code? Get it now.
Pinnet

Pinnet

Bilal Malik

|
6 installs
| (0) | Free
Pin notes and reusable code snippets to exact lines. Jump to them or insert them anywhere, instantly.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pinnet

Pin notes and reusable code snippets to exact lines. Jump to them or insert them anywhere, instantly.

License: MIT VS Code Author

Most note-taking extensions only let you leave a comment. Most snippet managers aren't tied to your actual code. Pinnet does both: pin a quick note or a real, reusable piece of code to any line - then reuse it anywhere in your project with one click.


Features

  • Pin a Note - Right-click any line (or Ctrl+Alt+A) to attach a Markdown note explaining the "why."
  • Pin a Snippet - Select any code, right-click (or Ctrl+Alt+S), and save it as a reusable snippet - optionally with editable tab-stop fields.
  • One-Click Insert - Click a pinned snippet in the sidebar to insert it at your cursor, anywhere in the project, using VS Code's native tab-stop editing.
  • Gutter Indicators - See at a glance which lines have a pinned note or snippet, with a hover preview.
  • Pins Registry Sidebar - Search, browse, and jump to every note and snippet in your workspace.
  • Drift-Safe Anchoring - Pins stay attached to the correct line even as you add or delete code around them.
  • Theme Native - Matches your editor's Dark, Light, or High Contrast theme automatically.

Usage

1. Pin a note Right-click any line or press Ctrl+Alt+A. Write a quick Markdown note.

2. Pin a snippet Select a block of code, right-click (or Ctrl+Alt+S), and choose whether to keep it exact or mark parts as editable using {{like this}}.

3. Reuse it anywhere Open the Pinnet sidebar, find your snippet, click Insert - it drops in at your cursor, ready to tab through any editable fields.


Why Pinnet

  • Notes stay attached to the exact line they explain - not a separate notes file that goes stale.
  • Snippets stay attached to where they came from - so you always know the original context, not just a floating code block.
  • No servers, no accounts, no cloud sync required. Everything is stored locally in your workspace under .pinnet/.

Installation

Open VS Code → Extensions (Ctrl+Shift+X) → search Pinnet → Install.

Or install from the VS Code Marketplace.


Contributing & Issues

Found a bug or have an idea? Open an issue.

Contributions welcome - fork, branch, and open a PR.

See CHANGELOG.md for version history.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft