log-highlighter-plus

A Visual Studio Code extension to highlight words or phrases in any file using custom background colors.
✨ Features
- ✅ Highlight selected text with persistent colors
- 🧠 Optional case-insensitive matching
- 🎨 Choose from popular preset colors or enter a custom hex
- 💾 Highlights persist across VS Code sessions
- 🧹 Remove individual or all highlights easily
- 🔄 Auto-refresh highlights on edit or file change
- 🖱️ Right-click context menu for quick access to highlight actions
🚀 Commands
Open Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
) and type:
Highlight Selection
Highlight Selection (Ignore Case)
Highlight With Custom Color
Remove Highlight
Remove All Highlights
These commands also appear in a dedicated Highlight submenu in the right-click context menu.
🎨 Color Options
You can choose from a list of popular colors:
- Red
- Blue
- Green
- Pink
- Yellow
- Orange
- Purple
- Light Gray
Or enter your own custom hex color (like #ff6600
).
🛠 Example
Highlighting the word Email
in red:
todo:
🧹 Removing Highlights
Select the highlighted word again and use:
Remove Highlight
→ removes just that word
Remove All Highlights
→ clears all at once
These actions are available from both the Command Palette and the right-click Highlight submenu.
📝 Logging (Dev Info)
Internally, log messages (e.g., actions, errors) are output to a dedicated Output Channel for debugging and diagnostics.
📦 Installation
Option 1: From the Marketplace (recommended)
- Open Visual Studio Code
- Go to Extensions (
Ctrl+Shift+X
)
- Search for
Log Highlighter
- Click Install
Or install directly from:
👉 Visual Studio Marketplace
Option 2: Manual .vsix
Install
- Download the
.vsix
file from the Releases tab
- In VS Code, press
Ctrl+Shift+P
→ Extensions: Install from VSIX...
- Select the downloaded file
Made with ❤️ by @JaroslawRoszyk
Feel free to open issues or contribute!