grepc
grep + color
![CI Tests](https://github.com/stneveadomi/grepc/actions/workflows/node.js.yml/badge.svg)
Grepc is an approachable regular expression highlighter with advanced customization for VS Code.
![Banner](https://github.com/stneveadomi/grepc/raw/HEAD/media/demo-banner.gif)
Features
- Easily decorate text with any regular expression and save them as rules
- Enable and disable decoration rules across all files or per file type
- Share rules across multiple workspaces or keep them workspace specific
- Have overlapping rules? Drag & drop to change execution priority
- See all matches of the current rule in an readable and approachable interface
- Adjust font style, color, background color, border, outline, and more as needed.
- Easy commands for creating, enabling, disabling, and removing rules for decoration.
Usage
- Simply open the tree view in the left hand bar.
- Optionally, use one of the following by right-clicking in the editor:
Command |
Title |
Description |
grepc.addRule |
Grepc: Create Blank Rule |
Add a rule to local or global rule managers through a series of menus. |
grepc.addTextRule |
Grepc: Create Rule From Selection |
Add a rule by selecting text to be the regex and then following the quick pick menus. |
grepc.deleteRule |
Grepc: Delete Rule |
Delete a rule from the workspace or global managers. |
grepc.enableAllRules |
Grepc: Enable All Rules |
Enable all rules in the workspace and global. |
grepc.enableLocalRules |
Grepc: Enable Local Workspace Rules |
Enable all local rules. |
grepc.enableGlobalRules |
Grepc: Enable Global Workspace Rules |
Enable all global rules. |
grepc.disableAllRules |
Grepc: Disable All Rules |
Disable all rules. |
grepc.disableLocalRules |
Grepc: Disable Local Workspace Rules |
Disable local rules. |
grepc.disableGlobalRules |
Grepc: Disable Global Workspace Rules |
Disable global rules. |
Installation
The easiest way to install is through the VS Code Marketplace.
Alternatively, you can install any version of grepc by going to the releases and downloading the specific .vsix file. From there, you can follow the instructions here.
Demo
![Example 4](https://github.com/stneveadomi/grepc/raw/HEAD/media/Code_PSyTYpsF5e.gif)
![Example 2](https://github.com/stneveadomi/grepc/raw/HEAD/media/Code_IlBi9doiz1.gif)
![Occurrences Example](https://github.com/stneveadomi/grepc/raw/HEAD/media/occurrences-demo.gif)
![Example 3](https://github.com/stneveadomi/grepc/raw/HEAD/media/Code_PMvUMJj9x3.gif)
![Example 1](https://github.com/stneveadomi/grepc/raw/HEAD/media/Code_hRfd4iIgh6.gif)
Release Notes
See releases
Contributing
Find an issue or a potential new feature? Create an issue on the GitHub page.
Feel free to review the current issues if interested in contributing.
If interested in more information, reach out to @stneveadomi on GitHub.
Credits
Created by Steven Neveadomi.
Shout out to the following beta testers: Chelsey Jurado, Dominic Nappi
Shout out to Brooke Thomson for designing the logos.
You can see more of her work here
License
MIT @ Steven Neveadomi