Regex Insight helps you work with regex patterns by identifying and highlighting them in your code and providing quick, matching examples on hover.
-
Pattern Highlighting: Automatically highlights regex patterns in yellow, making them easy to spot in your code.
-
Hover Examples: Displays example matches for regex patterns when you hover, making regex functionality easier to understand.
- Visual Studio Code version 1.70.0 or later
- Yarn package manager (install from Yarn's official website)
Regex Insight provides these configuration options:
regexInsight.enable
: Enable or disable regex highlighting and hover functionality.regexInsight.highlightColor
: Customize the highlight color for regex patterns (default is yellow).
- Limited support for multi-line regex patterns.
- Some complex regex patterns may not generate accurate examples.
Initial release with basic regex pattern highlighting and hover-based example generation for JavaScript and TypeScript.