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

Stain

muhammed rashid

|
184 installs
| (1) | Free
Keep track of important lines in your code. Easily mark lines with a green highlight and locate them quickly using the minimap. Click on a stained line to navigate back to it, and remove stains with a simple right-click. Never lose track of your code again!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stain - VS Code Extension

Overview

When working with large code files, it's easy to lose track of where you were. Stain solves this by letting you highlight important lines so you can quickly find them later.

Features

  • Mark any line with a green stain for quick reference.
  • Locate stained lines using the scroll bar.
  • Click on a stained mark in the scroll bar to jump back to that line.
  • Easily remove stains by right-clicking and selecting "Unstain".
  • Use a keyboard shortcut (Ctrl+m) to toggle staining on and off.

How to Use

Staining a Line

  1. Right-click on any line and select "Stain Line". Screenshot_20250329_130340

  2. The line will be highlighted with a green stain. Screenshot_20250329_130349

  3. The stain will also be visible in the scroll bar for easy navigation.

Unstaining a Line

  1. Right-click on a stained line and select "Unstain Line". Screenshot_20250329_130358

  2. The highlight will be removed.

Using Keyboard Shortcuts

  • Press Ctrl+m to stain an unstained line.
  • Press Ctrl+m again to remove the stain from a stained line.

Configuration

No additional configuration is required—just install and start marking lines!

Why Use Stain?

  • No more losing track of your code position.
  • Quickly jump back to important lines.
  • Simple, lightweight, and boosts productivity.
  • Works with both mouse clicks and keyboard shortcuts.

Contributing

Found a bug or have a feature request? Feel free to open an issue or contribute to the project!

License

MIT License

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