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

apply rules to region #20

Open
fkgruber opened this issue Aug 3, 2015 · 1 comment
Open

apply rules to region #20

fkgruber opened this issue Aug 3, 2015 · 1 comment

Comments

@fkgruber
Copy link

fkgruber commented Aug 3, 2015

Hi
It would be a nice feature to be able to select a region of existing code and apply the electric-operator rules to it. Essentially make existing code look better.

thanks
F

@davidshepherd7
Copy link
Owner

Yeah this might be nice, I'll have a think about how it can be implemented. If I can do it without having to change how existing rules work then I'll do it.

It's also worth noting that there are plenty of tools for "offline" beautification of code. For example python has autopep8 which will apply the same spacing rules as electric-operator's defaults. These tools are usually more powerful than anything I could or would add.

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

No branches or pull requests

2 participants