Sublime Alignment is a plugin that aligns multiple selections and multi-line selections. When aligning multi-line selections, all lines are first indented to the same level. Upon subsequent execution, all equal signs are aligned to the same column. When aligning multiple selections, all selection points are aligned to the same column.
Please see wbond.net/sublime_packages/alignment for full documentation, including installation instructions, settings, key bindings, etc.
Bugs should be reported at github.com/wbond/sublime_alignment/issues.
[size=150]Updates[/size]
Version 2.0.0
- Removed the old ctrl+shift+a
key binding for Windows/Linux and cmd+shift+a for OS X to prevent conflicts with the Expand to Tag command key binding. ctrl+alt+a should be used on Windows/Linux and ctrl+cmd+a on OS X.
Version 1.1.3
- Added settings file for CSS to align on :
characters also
Version 1.1.2
- Fixed the indentation import to work when this package is loaded before the Default package
Version 1.1.1
- Fixed a math error when converting mid-line spaces to tabs
Version 1.1.0
-
Added mid_line_tabs settings
-
Fixed handling of mid-line alignment when align_indent is false and indentation is done via tabs
-
Added an additional key binding, ctrl+alt+a (Windows, Linux) or cmd+ctrl+a (OS X) that doesn’t conflict with the new Expand Selection to Tag command from Sublime Text b2102
Version 1.0.6
- Fixed a bug with mid-line tabs causing incorrect mid-line alignment
Version 1.0.5
- Fixed a bug with multi-selection alignment
Version 1.0.4
-
Added align_indent, alignment_chars, alignment_space_chars and alignment_prefix_chars settings
-
Enhanced plugin to not indent blank lines when setting to trim trailing white space is enabled
Version 1.0.3
- Added Preferences menu entries and command palette commands for preferences
Version 1.0.2
-
Enhanced plugin to remove extra whitespace not necessary for alignment
-
Fixed handling of equal signs without whitespace before them
Version 1.0.1
- Added multi-line alignment functionality
Version 1.0.0
- Initial release