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

Code Painter

WindowMinCastle

|
13 installs
| (2) | Free
Highlight code lines to trace flow
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Painter 🌈

Marketplace Version Rating

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.

Code Painter Demo

✨ 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

  1. Place your cursor on a line or select a code block.
  2. Use the shortcuts to apply colors:
    • Windows/Linux: Ctrl + Alt + 1, 2, 3
    • macOS: Cmd + Option + 1, 2, 3
  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

Name Role GitHub
WindowMinCastle Main Maintainer @WindowMinCastle
AYeong Choi Contributor @tteia

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!

Happy Coding with Code Painter!

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