Aptana auto format

老子叫甜甜 提交于 2019-12-04 17:11:29

问题


I'm trying out Aptana (standalone version) for PHP editing. Like its parent Eclipse, it has a lot of settings for code formatting. Unlike Eclipse, it doesn't seem to have an option for actually doing code formatting automatically or even by manual trigger. Is there a nonobvious option for this that I'm missing?


回答1:


Right click > Format

Works fine for me. Make sure you have the PHP plugin installed if it isn't working for you




回答2:


Shift+Ctrl+F is also the default keyboard shortcut for this.




回答3:


Install Aptana PHP, info available here: https://aptanastudio.tenderapp.com/discussions/problems/605-php-formatting



来源:https://stackoverflow.com/questions/1249203/aptana-auto-format

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