Reputation: 127
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?
Upvotes: 0
Views: 1357
Reputation: 3
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
Upvotes: 0
Reputation: 1914
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.
Upvotes: 2
Reputation: 9034
Select code then Tab and shift+Tab works just as in every other editor
Upvotes: 0