Skip to content

Instantly share code, notes, and snippets.

@artanisdesign
Last active December 1, 2015 15:58
Show Gist options
  • Save artanisdesign/bd6a262353f563d71c39 to your computer and use it in GitHub Desktop.
Save artanisdesign/bd6a262353f563d71c39 to your computer and use it in GitHub Desktop.
Install and setup JSHint Plugin in Titanium / Appcelerator Studio

Install JSHint Plugin:

In Studio:

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)

Setup for using spaces as indention:

Appcelerator/Titanium Studio - Preferences - Studio - Editors - Javascript

Indention section: Use spaces - Tab Size: 4

Auto indent : true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment