Skip to content

Latest commit

 

History

History
46 lines (38 loc) · 3.33 KB

README.md

File metadata and controls

46 lines (38 loc) · 3.33 KB

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

  • User-specified words/RegEx
  • User-specified colors
  • Whole-line highlighting
    • Entire line highlighted light (25a691f)
    • 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