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

NailIt

kienlokl

|
2 installs
| (0) | Free
Notepad++ style bookmarks for VS Code - Toggle bookmarks, navigate between them with keyboard shortcuts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NailIt - Bookmarks for VS Code

NailIt brings the beloved Notepad++ bookmarks feature to Visual Studio Code. Quickly mark important lines in your code and navigate between them with simple keyboard shortcuts.

Features

  • Toggle Bookmarks: Mark any line with a bookmark using Ctrl+F2 (Windows/Linux) or Cmd+F2 (Mac)
  • Navigate Forward: Jump to the next bookmark with F2
  • Navigate Backward: Jump to the previous bookmark with Shift+F2
  • Bookmarks Panel: Dedicated sidebar panel showing all bookmarks across all files - click to navigate, delete individual bookmarks
  • Clear All Bookmarks: Remove all bookmarks from the current document
  • Visual Indicators: Blue bookmark icons appear in the gutter next to bookmarked lines
  • Per-Document Storage: Bookmarks are stored separately for each document

Usage

Keyboard Shortcuts

Action Windows/Linux Mac
Toggle Bookmark Ctrl+F2 Cmd+F2
Go to Next Bookmark F2 F2
Go to Previous Bookmark Shift+F2 Shift+F2

Context Menu

Right-click in the editor to access bookmark commands from the context menu:

  • Toggle Bookmark
  • Go to Next Bookmark
  • Go to Previous Bookmark
  • Clear All Bookmarks

Command Palette

All commands are available through the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):

  • NailIt: Toggle Bookmark
  • NailIt: Go to Next Bookmark
  • NailIt: Go to Previous Bookmark
  • NailIt: Clear All Bookmarks

How It Works

  1. Set a Bookmark: Place your cursor on any line and press Ctrl+F2 (or Cmd+F2 on Mac). A blue bookmark icon will appear in the gutter.

  2. Navigate: Use F2 to jump to the next bookmark and Shift+F2 to go to the previous one. Navigation wraps around - if you're at the last bookmark, F2 takes you to the first one.

  3. Bookmarks Panel: Click the NailIt icon in the Activity Bar (left sidebar) to open the Bookmarks panel. This shows all bookmarks across all open files. Click any bookmark to navigate to it, or use the trash icon to delete individual bookmarks.

  4. Remove a Bookmark: Place your cursor on a bookmarked line and press Ctrl+F2 again to toggle it off.

  5. Clear All: Use the command palette, context menu, or the Bookmarks panel to clear all bookmarks in the current document.

Requirements

  • Visual Studio Code 1.85.0 or higher

Extension Settings

This extension has no configurable settings at this time.

Known Issues

  • Bookmarks are stored in memory and will be lost when VS Code is closed. They are not persisted across sessions.

Release Notes

1.2.0

Added dedicated Bookmarks panel:

  • New sidebar view in Activity Bar showing all bookmarks
  • Click bookmark to navigate to it
  • Delete individual bookmarks from the panel
  • Clear all bookmarks button in panel header

1.0.0

Initial release with core bookmark functionality:

  • Toggle bookmarks on any line
  • Navigate between bookmarks
  • Visual gutter indicators
  • Context menu integration

Development

Building from Source

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch for changes
npm run watch

Debugging

  1. Open the extension in VS Code
  2. Press F5 to launch the Extension Development Host
  3. Test the extension in the new window

Packaging

# Install vsce
npm install -g @vscode/vsce

# Package the extension
vsce package

License

MIT License - see LICENSE file for details

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.


Enjoy NailIt! Mark your spots and code faster. 📌

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