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

Code Anchor

DiscreteTom

|
281 installs
| (0) | Free
Quickly navigate to anchors in your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Anchor for VSCode

Visual Studio Marketplace Version license

Quickly navigate to anchors in your code.

demo

Installation

Via VSCode Marketplace: Code Anchor.

Features

  • Syntax highlighting for anchors and references.
  • Completion for references.
  • Hover for details.
  • Goto definition.
  • Find all references.
  • Rename definitions.
  • Show all definitions in side bar.
  • Diagnostics for unused, undefined and duplicated definitions.
  • Customizable.
  • Fast. Powered by ripgrep.

Usage

Create a definition/anchor in any file using the following syntax:

[[some words here]]

Then reference it in any file:

[[@some words here]]

[!NOTE] Files in .gitignore are ignored.

Customize

These options are customizable via VSCode's settings.

  • Definition pattern.
  • Reference pattern.
  • Completion prefix pattern.
  • Completion trigger characters.
  • Diagnostic severity.
  • Whether to allow unused definitions.
  • Update file debounce latency.

Credit

Inspired by bimark.

CHANGELOG

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