Note: This article is for absolute beginner.
There are some cool external tools that I found valuable in my web development tasks. One of them is a utility called javascript lint, a javascript checker/verifier. In this article, I would discuss how to add js lint as an external tool.
First, you need to download a copy of javascript lint.
- Then click on Tool->External Tools
- Click Add.
- Specify name for the Tool
- On the Command field, click browse to locate the javascript lint executable. The value of this field should be complete path to executable plus the executable name.
- On the Arguments field, you can just put -process $(ItemPath). The arguments here depends on the arguments that are supported by the external tool. In this case, javascript lint needs a -process parameter.
- On the Initial Directory, put $(ProjectDir)
- Put a check mark on Use Output Window checkbox.
- Click Apply.
Cool! Now you are set. You should be able to see a new Tool Menu item. Go ahead and give it a try.
No comments:
Post a Comment