2010-06-23 38 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组合