2010-06-23 91 views

回答

20

Aptana Studio 3現在應該具有多種語言的格式。格式化的快捷方式應該與Studio 2中的相同:Ctrl + Shift + F。您應該能夠在Preferences> Aptana> Formatter下看到格式支持的語言列表。

0

也許格式不綁定到該快捷方式了?請參閱modifying shortcuts

+0

對不起之前,我是不是有問題,所以精確的...我需要HTML代碼的格式,我沒有找到。 – anleon 2010-06-23 09:52:08

3

在Aptana Studio 3中,此功能仍不可用。他們在他們的論壇上回復我: 「它會在某個時候再次出現,我們今天確實有HTML Tidy」。

+0

謝謝! =)將等待... – anleon 2010-06-24 19:49:33

8

菜單下的「源」>「格式」的快捷鍵是Shift + Cmd的+ F Under the menu 'Source'>'Format' Shortcut is Shift+Cmd+F

或者

右鍵單擊源代碼,然後選擇「源」>「格式」快捷方式Shift + Cmd + F Right-click the source-code and select 'Source'>'Format' Shortcut is Shift+Cmd+F

1

更新此有些人可能會在這裏結束。在Aptana V3.0.9中,存在格式化支持(通過窗口 - >首選項 - > Aptana Studio - >格式化程序),用於HTML問題(以及CSS,JavaScript,JSON,PHP,Ruby/ERB和XML)。

這可以作爲使用Ctrl-Shift-F組合