On-the-fly Code Analysis
Intelligent error highlighting
IntelliJ IDEA code analyzer performs on-the-fly code analysis and detects all common syntax errors, plus all other errors that would be detected during compilation. You never need to compile your code to verify that it's error-free. In addition to Java code analyzer, IntelliJ IDEA provides analysis for most of the supported technologies, including JavaScript, XML, HTML and CSS, EJB, JSP, JSF, Struts, JavaDoc, properties files, Ant scripts, and more.
Quick fixes and intention actions
When you are typing the source code, IntelliJ IDEA is always one step ahead with the source analysis and suggests quick-fixes for most of the errors, helping you solve problems instantly. Quick-fixes are activated by clicking the red light bulb that appears automatically to the left of the code line containing the error. For example, assign a value to a variable that represents an instance of one of its ancestors, and IntelliJ IDEA will immediately interpret your intention as wanting either to cast the ancestor type to the variable type, or to define the variable type the same as the ancestor's.
Multi-language on-the-fly code analysis
IntelliJ IDEA on-the-fly code analysis works across many different languages:
JavaScript
HTML
CSS
XML
And moreConvenient code review and error navigation
You can instantly see whether the current file contains any errors or warnings, by looking at the stripe bar to the right-hand side of the editor window. The status indicator at the top changes its color if the file contains errors or warnings. Each warning or error is represented by an individual stripe on the bar. Clicking on a stripe navigates you directly to the line of code that contains the error or causes the warning. You can also navigate between errors and warnings by pressing F2 (forward) and Shift + F2 (backward). The error message corresponding to the current error or warning is displayed in the status bar.
