Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Show Trigger WordsNew to Visual Studio Code? Get it now.
Show Trigger Words

Show Trigger Words

Matthew Pearon

|
435 installs
| (0) | Free
Emphasize trigger words in files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Badge for version for Visual Studio Code extension MPearon.vsce-show-triggerwords Rating Installs Downloads Live Share The MIT License

Purpose

This extension's purpose is to help emphasize user-specified "trigger words" in certain file types.

Features

Highlighting

Whole-line Highlighting

  • If a trigger word is detected, the entire line is highlighted lightly, and the matched word is emphasized heavily.

Automatic and Manual Triggering

  • Files with '.log' extension are automatically highlighted when the file is opened and "live" as the file is modified
  • Other files can be manually highlighted by triggering the 'Show Trigger Words' command from the Command Pallette

Highlighting Details

  • "Error", "Err", "Failure", "Fail", "Critical" and "Crit" are highlighted red.
  • "Warning" and "Warn" are highlighted yellow.
  • "Information" and "Info" are highlighted blue.
  • "Success", "Successful" and "Succeeded" are highlighted green.

Parsing

Not available for initial release.

Future Features

Highlighting

  • [x] User-specified words/RegEx
  • [x] User-specified colors
  • [ ] Whole-line highlighting
    • [x] Entire line highlighted light (25a691f)
    • [x] Matched word highlighted dark (25a691f)
    • [ ] Enable user toggle
  • [ ] Optional Gutter markers
    • [ ] Color matched

Parsing

  • [ ] Provide canned RegEx to detect date, level and message.
  • [ ] Optional user-supplied RegEx

Extension Settings

No configurable settings at this time.

Known Issues

To report issues, use this link.

  • Comments are not ignored at this time.
  • Switching between supported and non-supported languages can prevent highlighting updates.

Release Notes

Reference CHANGELOG for documentation about changes made to this repository

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