Code Painter is a lightweight VS Code extension that lets you highlight code lines to trace logic and data flow—just like using highlighters on paper. Stay focused on what matters in complex codebases.
✨ Features
3-Color Highlighting:
Ctrl + Alt + 1 (macOS: Cmd + Opt + 1): 🟡 Yellow
Ctrl + Alt + 2 (macOS: Cmd + Opt + 2): 🟢 Green
Ctrl + Alt + 3 (macOS: Cmd + Opt + 3): 🔴 Red
Smart Toggle: Highlight a line/selection with a shortcut. Press the same shortcut again to remove it, or a different one to switch colors instantly.
File-Specific Isolation: Highlights are managed independently for each file. Your marks stay where you left them, even when switching tabs.
Clear All: - Ctrl + Alt + 0 (macOS: Cmd + Opt + 0): Instantly wipe all highlights in the current file.
Fully Customizable: Search for Code Painter in Settings (Ctrl + ,) to change default colors to your preferred Hex or CSS color values.
🚀 Usage
Place your cursor on a line or select a code block.
Use the shortcuts to apply colors:
Windows/Linux:Ctrl + Alt + 1, 2, 3
macOS:Cmd + Option + 1, 2, 3
To remove, press the same color shortcut again or use the Clear All (0) shortcut.
⚙️ Configuration
Customize the appearance to match your favorite theme
code-painter.yellowColor: Change the yellow highlight color.
code-painter.greenColor: Change the green highlight color.
code-painter.redColor: Change the red highlight color.
👥 Contributors
Thanks to these amazing people for making this project possible
Want to contribute? Feel free to send a Pull Request!
Star this project! ⭐ If you find this extension helpful, please give it a star on GitHub! It helps more developers discover the tool.
Feedback & Contributions Issues and Pull Requests are always welcome. Feel free to report bugs or suggest new features!