-
Notifications
You must be signed in to change notification settings - Fork 54
Tips and tricks
It’s a real time saver.
Not having to use your mouse to perform an alignment is obviously faster.
You’ll be surprised how many alignments you can replace with just Align by space.
On any shortcut you can force it to use align from caret by adding Shift to the second shortcut key.
For example, to align by equals from caret – Ctrl Equals, Shift Equals.
Column marking complements code alignment very well. In some cases you’ll want to remove some spaces from each line after an alignment. Column marking does this well.
It really doesn’t make sense to use tabs with code alignment. Consider just removing them.
And don’t try and find \t in your regexes, in order to perform alignments, part of the extension must find the regex with tabs replaced by spaces.
Think about new ways to align your code.
If you’re experimenting with the options each screen you can reset if you stuff it up.
Code alignment is open source. Feel free to make suggestions, fork the project, port it to a new IDE, or use the powerful code alignment backend in a way completely different from how it is currently used.