I am trying to align some lines in my code that has comments that can be used with some alignment. I used notepad + " Code-Alignment " and aligned the text below.
class Constants(object): VAL_CONST = 5
I get the following:
class Constants(object): VAL_CONST = 5
However, I would like to take one more step. I would like to βre-alignβ the code again, this time on the second set of equal signs. Preferably, without looking at the comments, to change the second set of equal signs to be more unique.
End of result:
class Constants(object): VAL_CONST = 5
notepad ++
Zoran pavlovic
source share