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

CodeFlag

sarang-kaliyath

|
7 installs
| (5) | Free
Allows you to add flags to your code, so that its easier to find later on...
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeFlag

Easily add, manage, and navigate flags (bookmarks) in your code for faster development.


Table of Contents

  • Quick Start
  • Features Highlights
  • Detailed Usage
    • Add a Flag
    • Remove a Flag
    • Rename a Flag
    • Keyboard Shortcuts
  • Screenshots
  • Release Notes

Quick Start

  1. Add a Flag

    • Single-line: Place cursor → Right-click → Add Flag
    • Multi-line: Select lines → Right-click → Add Flag
  2. Remove a Flag

    • Editor: Right-click flagged line → Remove Flag
    • Activity Bar: Hover → Click Remove
  3. Rename a Flag

    • Hover over a flag → Click Rename → Enter new name
  4. Keyboard Shortcuts | Action | Shortcut | |------------|----------------| | Add Flag | Ctrl + Alt + F | | Remove Flag | Ctrl + Alt + R |


Features Highlights

  • Add, remove, and rename flags quickly
  • Named bookmarks for easy navigation
  • Smart flag merging:
    • Flagging a subset of an existing flag is ignored
    • Flags that include smaller flagged blocks merge into one larger block
  • Activity Bar preview: Hover over a flag to preview the flagged code
  • Fully supports single-line and multi-line selections

Detailed Usage

Add a Flag

Single-line

  1. Place your cursor on the line you want to flag
  2. Right-click and select "Add Flag"

Multi-line

  1. Select multiple lines of code
  2. Right-click the selection
  3. Select "Add Flag"

Remove a Flag

From Editor

  1. Right-click on a flagged line
  2. Select "Remove Flag"

From Activity Bar

  1. Hover over the flagged item
  2. Click the Remove option

Rename a Flag

  1. Hover over the flagged item
  2. Click the Rename option
  3. Enter a new name or description

Keyboard Shortcuts

Action Shortcut
Add Flag Ctrl + Alt + F
Remove Flag Ctrl + Alt + R

Screenshots

Add Flag: Multi-line
Add Flag: Multi-line

Add Flag: Single-line
Add Flag: Single-line

Remove Flag
Remove Flag

Remove Flag: Activity Bar
Remove Flag

Rename Flag: Activity Bar
Rename Flag


Release Notes

1.0.0

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