Is there a way by which I can Indent code (complete file) in the titanium IDE? Similar to way in Eclipse.

Is there a keyboard shortcut available?

有帮助吗?

解决方案

On the MAC, select the window you want to reformat the code in. At the top select Source->Format and it will also show you the shortcut keys for reformatting the code. Looks like SHIFT+COMMAND+F on my system.

其他提示

Select code then Tab and shift+Tab works just as in every other editor

On the Mac you can use the SHIFT+ COMMAND + F to format the file. Before formatting , ensure that you have defined the preferred formatting styles ( the indentation size etc ) correctly from Preferences ->Titanium Studio ->Formatter->Java Script

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top