문제

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