I am trying to get Eclipse to format my php arrays like vim indentation.
What the eclipse does (press CTRL + SHIFT + F)
<?php $array = array( 'key1' => 'value1', 'key2' => array( 'child_key1' => 'child_value1', 'child_key2' => 'child_value2', ), );
What vim does (press keys: gg = G)
<?php $array = array( 'key1' => 'value1', 'key2' => array( 'child_key1' => 'child_value1', 'child_key2' => 'child_value2', ), );
I tried looking in Settings> PHP> Code Style> Formatter and Preferences> PHP> Editor> Templates, but didn't find anything.
Thanks in advance. Cahan
Kehan source share