I usually use Textmate, which can do this by pressing option+command+right-bracket and it evenly spaces out a selection of declared variables with values. Same goes for arrays as well, it will space out the keys and their assigned values. For context check out #2 on the following page.
I have to use Notepad++ at work and was wondering how to do the same thing via shortcut key or menu option.
Before variables/array keys are spaced out evenly.
$var = 'value';
$my_var = 'value';
$data = array(
'my_key' => 'value',
'some_other_key' => 'value'
);
After variables/array keys are spaced out evenly.
$var = 'value';
$my_var = 'value';
$data = array(
'my_key' => 'value',
'some_other_key' => 'value'
);