stneveadomi / grepc

Grepc is an approachable regular expression highlighter with advanced customization for VS Code.
https://marketplace.visualstudio.com/items?itemName=stneveadomi.grepc
MIT License
22 stars 4 forks source link

Remove duplicate rule map from extension storage #111

Open stneveadomi opened 1 month ago

stneveadomi commented 1 month ago

Quite frankly, the data design was not as good as I should have had it.

We can remove either the map or the array and have 1 source of truth.

We shouldn't be storing duplicate. Not sure why I didn't think of this sooner...