electric-operator
electric-operator copied to clipboard
apply rules to region
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
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.