Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Replace direction #59

Open
mrekin opened this issue Oct 23, 2023 · 0 comments
Open

[Feature request] Replace direction #59

mrekin opened this issue Oct 23, 2023 · 0 comments

Comments

@mrekin
Copy link

mrekin commented Oct 23, 2023

Hi!
I don't know if plugin still in development/alive or someone can make PR/fork.., but it most usable in VSCode marketplace foк my purpose.

I use it for make "human readable" rules files, so I configure a lot of rules to replace 'code' to 'description' straight and back (2 rules for each pair) - and 2 ruleset in total (code->human , human->code)

So it will be very helpfull if I can configure one rule like
{"Short cycle": { "find": "'CYCLE' = 1", "replace": "shortCycle" ,"literal":true } }

And use it in ruleset like
"Code to human": { "rules": [ "Short cycle" ] }, "Human to code": { "rulesReverse": [ "Short cycle" ] }

  • to make reverse replacing

p/s also external rules file feature is musthave

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant