Keyword Highlighter
Highlight custom keywords in any file with configurable colors. Works out of the box with TODO, FIXME, HACK, and NOTE — fully customizable via settings.
Features
- Highlights keywords with custom foreground color, background color, and bold text
- Case-insensitive matching by default (configurable)
- Live updates as you type
- Works in any language / file type
Configuration
Add to your settings.json:
"keywordHighlighter.keywords": [
{ "text": "TODO", "color": "#ffffff", "background": "#f59e0b" },
{ "text": "FIXME", "color": "#ffffff", "background": "#ef4444" },
{ "text": "HACK", "color": "#ffffff", "background": "#8b5cf6" },
{ "text": "NOTE", "color": "#ffffff", "background": "#3b82f6" },
{ "text": "MYKW", "color": "#000000", "background": "#86efac" }
],
"keywordHighlighter.caseSensitive": false
Commands
Keyword Highlighter: Refresh — manually re-apply all highlights (Command Palette)