adrianlee44 / atom-aligner

Easily align multi-line with support for different operators and custom configurations
https://atom.io/packages/aligner
MIT License
77 stars 3 forks source link

Support for key => value pairs #51

Closed ray-bip closed 8 years ago

ray-bip commented 8 years ago

Hey man, I love this aligner package you built! I especially like the fact that CTRL+Z actually undoes the entire alignment action, instead of un-aligning everything one line at a time and / or freezing the file temporarily (like some of the other alignment packages I tested, did).

Anyway, quick question / suggestion: somehow I'm unable to align key => value pairs in PHP arrays. I tried selecting the array as a whole as well as selecting the key => value pairs only before hitting CTRL+ALT+/, but nothing seemed to work. I have Atom running on both Windows and Linux - same issue on both platforms. Aligning CSS declarations and PHP variables is no problem.

Is there a setting I missed? Am I doing something wrong?

Looking forward to hearing from you. And again, great work! :-)

Raymond The Netherlands

adrianlee44 commented 8 years ago

Have you installed aligner-php package?

ray-bip commented 8 years ago

Hey, thanks your your quick reply! I just installed the PHP specific package and it did the trick - awesome!

adrianlee44 commented 8 years ago

Glad to hear that it worked out.