Highlight Row
VSCode extension: Right-click on a row -> highlight/unhighlight row permanently
Features
- [x] Via right-click — no Ctrl+Shift+P, just a right-click
- [x] Multiple cursors — supports
Alt + click to highlight several rows at once
- [x] Permanent — highlight doesn't disappear when moving the cursor
- [x] Customizable color — any color of your choice (HEX, RGBA, CSS)
- [x] Works with any files —
.mb, .txt, .js, .py, logs, configs and others
Quick Start
- Install the VS Code extension
- Open any file
- Right-click on the row you want to highlight
- Select Highlight row (the row will be highlighted in blue by default)
- To remove the highlight — right-click again → Unhighlight row
Multiple Cursors
- Hold
Alt+Left Click, Ctrl+Shift+L (Windows/Linux) or Option (Mac)
- Click on several rows where you want to place cursors
- Right-click → "Highlight row" — all rows with cursors will be highlighted simultaneously
How it works
The extension binds the highlight to the row number, not to the content. This means:
- The highlight remains on the same row number when inserting/deleting rows ABOVE
- If you press Enter at the end of a highlighted row — the highlight stays on the original row (with the text)
- If you delete a row with a highlight — the highlight disappears
- Highlights are stored in VS Code's memory within the current session (highlights are NOT saved after completely closing VS Code)
This approach is simple and predictable, without any magical shifts.
Configuration
Row highlight color highlightRow.backgroundColor
Supported formats:
- HEX with transparency:
#4488ff44
- RGBA:
rgba(68, 136, 255, 0.27)
- CSS color names:
lightblue, coral, gold
Default value: #4488ff44 (semi-transparent blue)
Useful colors for different tasks
| Task |
Color |
Recommended color |
| General notes |
blue |
#4488ff44 |
| Logs and debugging |
red |
#ff444466 |
| Important rows / TODO |
orange |
#ff8800aa |
| Temporary notes |
green |
#44ff4433 |
| Minimal highlight |
almost transparent gray |
#88888822 |
| For heart-related matters |
semi-transparent pink |
rgba(255, 105, 180, 0.3) |
Contributing
Found a bug? Have a feature request? Please open an issue.
License
This project is licensed under the MIT License - see the LICENSE file for details.
| |