Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eomielan/regex-insight
VS Code extension to highlight regex patterns and show example matches on hover
https://github.com/eomielan/regex-insight
typescript vscode-extension
Last synced: 12 days ago
JSON representation
VS Code extension to highlight regex patterns and show example matches on hover
- Host: GitHub
- URL: https://github.com/eomielan/regex-insight
- Owner: eomielan
- Created: 2024-10-13T21:34:32.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2024-10-27T02:32:58.000Z (12 days ago)
- Last Synced: 2024-10-27T02:36:41.894Z (12 days ago)
- Topics: typescript, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Regex Insight
Regex Insight helps you work with regex patterns by identifying and highlighting them in your code and providing quick, matching examples on hover.
## Features
- **Pattern Highlighting:** Automatically highlights regex patterns in yellow, making them easy to spot in your code.
![Pattern Highlighting](https://github.com/eomielan/regex-insight/raw/main/images/pattern-highlighting.png)
- **Hover Examples:** Displays example matches for regex patterns when you hover, making regex functionality easier to understand.
![Hover Examples](https://github.com/eomielan/regex-insight/raw/main/images/example-generation.png)
## Requirements
- Visual Studio Code **version 1.70.0 or later**
- Yarn package manager (install from [Yarn's official website](https://classic.yarnpkg.com/lang/en/docs/install))## Settings
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).## Known Issues
- Limited support for multi-line regex patterns.
- Some complex regex patterns may not generate accurate examples.## Release Notes
### 0.0.1
Initial release with basic regex pattern highlighting and hover-based example generation for JavaScript and TypeScript.