sublime_alignment
sublime_alignment copied to clipboard
Make it so that when no region is selected, align the entire file
I made it so that, If a user has not selected any region, the plugin will align the whole file block-by-block. You might want to see it in action; it's really cool.
For example, this block of code:
1 + 1 = 2
2 = 3
wadw = 21
awd = 2121
will be formatted to:
1 + 1 = 2
2 = 3
wadw = 21
awd = 2121
I also added a command to the palette.
I can now definitely give this a +1, as it works wonders!