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

BookmarkBeacon

BlueCaret

|
67 installs
| (1) | Free
VSCode extension that lets you add a highly visible bookmark to your code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BookmarkBeacon

VSCODE EXTENSION

Forked from: line_highlight_bookmark_vscode (which in turn was forked from: vscode-bookmarksng)

Install:

Bookmark with highlight lines, icon, and overview ruler highlight.

Shortcuts

These shortcuts can be modified in Settings:

  • Cmd+M (Ctrl+M) — toggle bookmarks (multi-cursor supported).

    Reference: bookmarkbeacon.toogleBookmarks

  • Cmd+Shift+M (Ctrl+Shift+M) — clear all bookmarks in current file

    Reference: bookmarkbeacon.clearAllBookmarks

  • F2 — move cursor to the next bookmarked line of code (cursor is moved at the end of the line)

    Reference: bookmarkbeacon.navigateToNextBookmark

  • F2+Shift — move cursor to the previous bookmarked line of code (cursor is moved at the end of the line)

    bookmarkbeacon.navigateToPrevBookmark

Properties

These properties can be modified in Settings:

  • alignTopOnNavigation — If set bookmarked line will become the topmost when using next / previous navigation commands. default: false

    bookmarkbeacon.alignTopOnNavigation

  • display — Sets how the bookmark is displayed. Can choose between showing a line in the editor and overview ruler ('line'), an icon in the gutter ('icon'), or both. (default: 'both')

    bookmarkbeacon.display

  • icon — Choose which style of icon to show in the gutter. Options: 'icon', 'icon-color', 'logo', 'logo-color'. (default: 'icon')

    bookmarkbeacon.icon

  • lineColor — Change the line color. (e.g. 'red', '#FFF' '#FFFFFFF', 'RGB(255,255,255)','RGB(255, 255, 255. 0.5)') (default: '#00FFFF')

    bookmarkbeacon.lineColor

  • lineWidth — Change the line width (default: 3)

    bookmarkbeacon.lineWidth

  • lineStyle — Change the line style. Options: 'solid', 'dashed', 'inset', 'double', 'groove', 'outset', 'ridge' (default: 'solid')

    bookmarkbeacon.lineStyle

Features

  • Line renderer highlight the entire line for quick visual reference

  • multi-cursor supported! — add multiple bookmarks with a single shortcut / command run

  • multi-editor supported! — Line highlight stays always on

  • bookmarks are set for lines (not for selection ranges)

  • context dependent bookmarks toggle

  • for single cursor mode - normal bookmark toggle is performed

  • for multi-cursor - bookmarks are set if there is at least one line without a bookmark. Otherwise bookmarks are unset

  • remove bookmarks inside multi-line selection on bookmark toggle. Works only for single multi-line selection

  • navigation to next / previous bookmark with a shortcut

Thank you!

Modified from line_highlight_bookmark_vscode.

Modifications made by BlueCaret.

Buy me a coffee

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