| View previous topic :: View next topic |
| Author |
Message |
possel
Joined: 02 Nov 2008 Posts: 2
|
Posted: Thu Oct 01, 2009 12:24 pm Post subject: Possibly to properly indent nested array structures? |
|
|
Hi folks,
after been urged to do some work in PHP it was kind of cure to have at least my favourite IDE as a friend with me
The only thing i have not yet managed (and which is quite annoying, as i am working with SUgarCRM which is making excessive use of nested arrays) is the indentation of (say what?) arrays. So when i push Alt-Shift-F , my arrays look like that:
| Code: |
$dictionary['abcna_AlfDocuments'] = array(
'table'=>'abcna_alfdocuments',
'audited'=>true,
'fields'=>array (
'alf_reference' =>
array (
'required' => false,
'name' => 'alf_reference',
'vname' => 'LBL_ALF_REFERENCE',
'type' => 'varchar',
'massupdate' => 0,
'comments' => 'Alfresco ~ internal reference',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => 0,
'reportable' => 0,
'len' => '255',
),
|
where i obviously wanted the nested arrays more indented to see the structure of the whole mess.... Any way to configure that? I am currently using NetBeans 6.7.1
Cheers
Andreas |
|
| Back to top |
|
 |
Tomasz Slota Posted via mailing list.
|
Posted: Thu Oct 01, 2009 1:02 pm Post subject: Possibly to properly indent nested array structures? |
|
|
Hello,
This is known problem, see
http://www.netbeans.org/issues/show_bug.cgi?id=168396
You may want to vote for the issue, hopefully it will get fixed soon.
Best regards,
-TS
possel wrote:
| Quote: | Hi folks,
after been urged to do some work in PHP it was kind of cure to have at least my favourite IDE as a friend with me :-)
The only thing i have not yet managed (and which is quite annoying, as i am working with SUgarCRM which is making excessive use of nested arrays) is the indentation of (say what?) arrays. So when i push Alt-Shift-F , my arrays look like that:
Code:
$dictionary['abcna_AlfDocuments'] = array(
'table'=>'abcna_alfdocuments',
'audited'=>true,
'fields'=>array (
'alf_reference' =>
array (
'required' => false,
'name' => 'alf_reference',
'vname' => 'LBL_ALF_REFERENCE',
'type' => 'varchar',
'massupdate' => 0,
'comments' => 'Alfresco ~ internal reference',
'help' => '',
'importable' => 'true',
'duplicate_merge' => 'disabled',
'duplicate_merge_dom_value' => '0',
'audited' => 0,
'reportable' => 0,
'len' => '255',
),
where i obviously wanted the nested arrays more indented to see the structure of the whole mess.... Any way to configure that? I am currently using NetBeans 6.7.1
Cheers
Andreas
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|