Companion Products for IntelliJ® IDEA

IntelliJ IDEA Companions Frequently-asked Questions Info for Software Vendors

Inspection-JS: Bringing the power of interactive code inspection to JavaScript

Inspection-JS is the first fully-featured JavaScript static analysis tool, allowing you to find JavaScript errors before your customers do.

Inspection-JS leverages the power of IntelliJ IDEA's industry-leading Java code analysis suite, and extends it to cover the world of JavaScript.

As web sites become more interactive, the JavaScript code you have to maintain becomes larger, more complex, and more crucial to your application's success.

Inspection-JS allows you to analyze and repair JavaScript code as easily as Java, letting you to truly develop web applications with pleasure.

Requirements: Inspection-JS plugin works only with IntelliJ IDEA 5.0 or newer.

Inspection-JS can find and report on over seventy different Javascript issues, including:
  • Common Javascript bug patterns
  • Performance problems
  • JavaScript portability concerns
  • DOM usage issues
  • Javascript coding style guidelines
  • Design metrics
  • Naming conventions
  • Error handling mistakes
  • Unreachable code

Twenty of those problems can be automatically repaired, either interactively or in batch, with "quickfixes" provided by Inspection-JS.

Key Features of Inspection-JS

All Inspection-JS inspections work in HTML, XHTML, JSP, JSPX, and Javascript files. Javascript issues can be found no matter where they are in your application.

some description of the image Fig 1. Missing "break" statement.

Javascript errors are non-intrusively highlighted during editing, allowing them to be fixed before they become a problem. All analyses are silently rerun as your files are being edited, so that the information Inspection-JS gives to you is always accurate and up-to-date.

Error reports can be created for an entire project, an individual module, or just one file. Batch reports can be created from within IDEA, or as part of an off-line build process.

some description of the image Fig 1. Unreachable code highlighting.

Twenty different quickfixes allow you to automatically repair common errors and code style violations. Quickfixes can be triggered either interactively during editing, or all at once from a batch report.

Inspection-JS integrates seamlessly with many popular version control systems, including CVS, Subversion, and Perforce. This allows changes to be easily applied to large multi-developer projects.

Comments? Write to

Copyright © 2000-2006 JetBrains. All rights reserved