Aptana PHP Formatter - use custom formatting rules

雨燕双飞 提交于 2019-12-03 12:40:33

Yes. There is a way.

Go to the Studio's preferences and locate the 'Formatter' item. If you are using the default formatter profile, create a new one by clicking the '+' icon.

Click to edit the PHP formatting setting (double-click the 'PHP' item, or click it and than click the 'Edit' button).

Under the 'New Lines' tab, check the option to 'Insert new line between array-creation elements'. OK the dialogs. Make sure that the profile you just created is the selected one in the formatter preferences page, and format your code.

Cheers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!