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.
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
Right-click on any line and select "Stain Line".
The line will be highlighted with a green stain.
The stain will also be visible in the scroll bar for easy navigation.
Unstaining a Line
Right-click on a stained line and select "Unstain Line".
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!