Want IntelliJ IDEA T-Shirt?
Visit our Apparel Store!
Tag Archives: Code Analysis
Most of applications initially are single threaded, and IntelliJ IDEA was no different; though luckily, now it isn’t — but we had to adapt our code to use multiple threads. In this post I’m going to tell you how. In … Continue reading
Do you find yourself copying and pasting parts of bodies between different methods and then facing broken code? Unfortunately, parameter names tend to differ — like in this (very simplified) example: Nothing is easier than fixing this problem with a … Continue reading
With the latest Maia EAP Groovy language support is improved with several new GStrings intention actions. Now you can convert string concatenations to GStrings… …and back simply by pressing Alt+Enter, Enter. Also, IntelliJ IDEA is now aware of that braces … Continue reading
Occasionally implementing a Listener leads to an explosion of ugly empty boiler-plate methods. In such cases it is usually better to extend a matching adapter class and only override the needed methods. The next IntelliJ IDEA Maia EAP build will … Continue reading
Upcoming IntelliJ IDEA version, Maia brings you an improved version of the Dataflow to this feature and the completely new Dataflow from this. Here I am describing how these features work and how they can help you the Code Archeologists … Continue reading
Google Web Toolkit 1.6 replaces EventListener class with EventHandler, so the existing code base needs an upgrade. In most cases IntelliJ IDEA can do this automatically — all you need to do is to press Alt+Enter on a highlighted listener … Continue reading
Two-way synchronization between different data models is a common routine task and often developers are stuck with manual copying of data from one model to another for many reasons: model complexity, impossibility to create a simple binding, etc. For example, … Continue reading
Thanks to improvements in the internal indexes behind the Intellij IDEA code insight engine, Maia will be able to instantly highlight some java classes, methods and fields which are unused across the entire project. To use the feature, enable the Unused … Continue reading
IntelliJ IDEA code analyzer will be extended with WebBeans-specific inspections in the upcoming Maia release:Here’s the example of how they work: