How to format code on aptana 3?

谁说胖子不能爱 提交于 2019-12-13 16:19:46

问题


It is showing default code format settings in preferences but i can not see any option to format a code file.Please help.

Edited: I can format text by selecting text and ctrl+shift+F. But i want to format whole source code or at least a given folder.


回答1:


That's not currently an option. I've added a ticket for it here:

https://aptana.lighthouseapp.com/projects/35272-studio/tickets/2333-format-whole-folder-of-source-code




回答2:


You can format the code by a simple Ctrl+Shift+F. It's actually working better if you don't have any code selection (especially when dealing with multiple languages in the same file). You can also right-click and select Source->Format, or select Source->Format on the Studio's menu-bar. As Ingo mentioned, formatting a folder is not yet supported. I'll try to add it asap :)



来源:https://stackoverflow.com/questions/5422414/how-to-format-code-on-aptana-3

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