sublime_alignment icon indicating copy to clipboard operation
sublime_alignment copied to clipboard

Make it so that when no region is selected, align the entire file

Open derekchiang opened this issue 12 years ago • 1 comments

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.

derekchiang avatar Jun 03 '13 02:06 derekchiang

I can now definitely give this a +1, as it works wonders!

Multiply avatar Sep 11 '13 16:09 Multiply