Can't align commas? #48

Closed
DaveSanders opened this Issue Jun 15, 2013 · 5 comments

Comments

Projects
None yet
3 participants
@DaveSanders

I'm not sure what I'm doing wrong, but is there something that keeps it from aligning commas?

I want to align:
[ 1, '01_home.png', 'Home', 'The guest home page'],
[ 2, '02_login.png', 'Login', 'The login form'],

in an array on the commas. My only change to my config is:

{
"alignment_chars": ["=", ","]
}

What am I missing?

@DaveSanders

This comment has been minimized.

Show comment Hide comment
@DaveSanders

DaveSanders Jun 15, 2013

Or maybe I'm just not understanding how it works. if my FIRST comma is misaligned, its fixing that, but repeated use isn't lining up the others?

Or maybe I'm just not understanding how it works. if my FIRST comma is misaligned, its fixing that, but repeated use isn't lining up the others?

@wbond

This comment has been minimized.

Show comment Hide comment
@wbond

wbond Jul 6, 2013

Owner

Yeah, really Alignment if for simple alignment using very basic rules. It does not take into account language structure in any way.

There are quite a number of different alignment packages available now - one of those may fit the bill for you.

Owner

wbond commented Jul 6, 2013

Yeah, really Alignment if for simple alignment using very basic rules. It does not take into account language structure in any way.

There are quite a number of different alignment packages available now - one of those may fit the bill for you.

@wbond wbond closed this Jul 6, 2013

@DaveSanders

This comment has been minimized.

Show comment Hide comment
@DaveSanders

DaveSanders Jul 9, 2013

Thanks. Any suggestions?

Thanks. Any suggestions?

@wbond

This comment has been minimized.

Show comment Hide comment
@wbond

wbond Jul 9, 2013

Owner

I'd go to http://wbond.net/sublime_packages/community and search for "Align"

Owner

wbond commented Jul 9, 2013

I'd go to http://wbond.net/sublime_packages/community and search for "Align"

@zchrykng

This comment has been minimized.

Show comment Hide comment
@zchrykng

zchrykng Jul 9, 2013

@DaveSanders I use https://github.com/khiltd/Abacus It might do what you want.

zchrykng commented Jul 9, 2013

@DaveSanders I use https://github.com/khiltd/Abacus It might do what you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment