Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>anchor zeroNew to Visual Studio Code? Get it now.
anchor zero

anchor zero

Vlad Shcherbina

|
1 install
| (0) | Free
Jump between anchors
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

In my code, I have a convention that duplicated pieces of code, or pieces that should be kept in sync, are annotated with a random unique ID. This makes it easy to find all related pieces. And the IDs survive moving the code around or even copying (that's why it's better than referring to code location).

Example:

// This is a near-duplicate (anchor: LiYB3Cjn)
....
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft