WarWithinMe/better-align

Variables align with array elements

Opened this issue · 2 comments

Really like the extension and how easy it is to configure but I'm having an issue with variables being aligned with array elements.

For example, aligning this code:
image

Gives me:
image

Notice how $q is being aligned with the 'players' array element?

What I'd like to see is:
image

Is this possible via a config option?

same error .
workaroud
aa = 1
bb['ccc']=9
↓↓↓↓
aa = 1
bb.ccc = 9

I have this problem too, I think something to do with the [], a setting to ignore them will work