Sublime Forum

Add an "align assignment" snippet

#1

I haven’t found such a feature but I’ve always liked the ability to automatically align assignments:

$var = 'foo'; $another_var = 'bar'; $foobar = 'foobar';
becomes

$var = 'foo'; $another_var = 'bar'; $foobar = 'foobar';

0 Likes