- Help -> Install New Software
- Add this: http://github.eclipsesource.com/jshint-eclipse/updates/
- Install JSHint. Studio will restart.
After successfull install, right click on your project:
- Properties: you should have a JSHint option in the menu.
Enable JSHint for these files and folders, add Files matching: *.js
- in folders app/
- including all subfolders.
Open the JSHint menu - Configuration, and enable project specific config with these settings
(if you only using app studio for Tidev, you can do it globally in preferences)
Appcelerator/Titanium Studio - Preferences - Studio - Editors - Javascript
Indention section: Use spaces - Tab Size: 4
Auto indent : true