This is a prototype implementation for an extension that allows to execute Comby in VSCode.
VScode doesn't allow to beautifully reimplement a search-like extension. What can be done in the action bar is very limited (tree views only).
This is using codelens to preview rewrites, but this is not an optmized way of doing things.
- Match and replace elements one by one.
- More coming up.
Have comby installed and available in the path.
No settings for now
- Match elements given a query
- Replace elements after previously matching
- Button to replace all elements
- Add configuration for custom path to comby
- Handle where rules
- Execute pre-written scripts
- Handle multi-file rewrites. (VSCode doesn't support webviews in the action bar yet).