Reformat Pycharm Code: Operator Alignment

In Jetbrains Pycharm (Professional, 2016.1) there is a way (built-in or third-party) to change the style of the code in python to align consecutive lines with an operator, in particular, with a purpose? For example, I would like

var1 = 5 variable2 = 10 varbl3 = 15 

to reformat to

 var1 = 5 variable2 = 10 varbl3 = 15 

I am aware of several packages that allow me to do this manually with an external command (I am currently using Front-End Alignment, but String Manupulation also works decently), but this eliminates the possibility of using code reformatting (which I otherwise find very useful) on the same piece of code.

I know that this is not PEP-8 compliant, and I do not want to discuss the advantages / disadvantages of code alignment. Is there a way for the code formatting option to automatically take care of this for me?

+5
source share

All Articles