wbond / sublime_alignment

Easy alignment of multiple selections and multi-line selections
http://wbond.net/sublime_packages/alignment
522 stars 110 forks source link

alignment in css with pseudoclasses #13

Closed iamstarkov closed 12 years ago

iamstarkov commented 12 years ago

If the alignment's parser encounters a word like :hover or :focus, the output text will be strange:

There is no mechanism for regulating the situation in the plugin settings

ghost commented 12 years ago

There's really no sane way for a plugin to do this without writing a bunch of special cases or a full-blown parser for every language you want it to support.

wbond commented 12 years ago

Yeah, the alignment plugin is really meant to be an aide so that you don't have to manually insert a bunch of spaces when trying to line up a few different lines.

In this situation it requires you only select the two lines that should be lined up.