Completion is available for standard, browser specific and user-defined functions in *.js files. The IDE can also offer you code completion for methods and functions from external libraries and frameworks used in your project:
Code Inspection and Quick-fix Options
In addition to dozens of built-in inspections, you can use integrated JSLint, JSHint and Google Closure Linter code quality tools:
You can easily navigate around any large project with powerful navigation features.
Fully aware of the structure of your code, the IDE brings you context-based navigation, rather than just a text-based search, to navigate straight to a class, function definition or variable.
Code styles, for example the indents, can be easily configured in the project settings as well as the color scheme. These settings can be imported or exported to share with the team:
- Rename a file, function, variable or parameter everywhere in the project.
- Extract variable or function: create a new variable or a function from a selected piece of code.
- Inline Variable or Function: replace a variable usage(s) with its definition, or replace a function call(s) with its body.
- Move/Copy file and Safe Delete file.
- Surround with and Unwrap code statements.
ECMAScript Harmony Support
Debugger features include:
- Frames, variables and watches views.
- Remote debug.
Select one of Karma test runner, Mocha or JSTestDriver. You’ll be able to run and debug tests right inside the IDE, view results in a nice and visual format, and navigate to the test code.
When using Karma or JSTestDriver you can also have Code coverage reports to have a clear picture of which parts of your code remain untested:
Spy-js works for websites opened in any browsers on your machine or mobile device. Use it to debug and profile your code and efficiently identify any possible bottlenecks.
Node.js plugin makes the IDE perfect for Node.js development. You can efficiently run, debug and test your Node.js code right in the IDE.
Enjoy smart completion for Node.js code (including the require() statements), error detection, refactorings and powerful navigation.
Debugger for Node.js works right out of the box and provides you with advanced features like conditional breakpoints and remote debugging.
Node.js plugin adds integration with the node package manager npm, which allows you to update dependencies and install Node.js modules locally from the IDE:
Dart plugin adds support for Google Dart language in the IDE and is recommended by Google’s Dart team.
Dart support includes intelligent coding assistance with automatic completion, on-the-fly error detection, quick-fix options and refactorings. You can debug, run and test your Dart applications right in the IDE.
Check out how JetBrains helps you develop with HTML and CSS.
More info »