IntelliJ IDEA – the IDE for Professional Development in Java and Kotlin
Application security is a critical requirement in modern software development. The latest release of IntelliJ IDEA 2024.3.1 – along with the optional new Security Analysis by Qodana plugin – elevates your security efforts with advanced interprocedural data flow analysis capabilities for code written…
This series of blog posts covers several ways that code analysis in IntelliJ IDEA can help you find and fix problems in your code. In the previous posts, we first looked at how the IDE can help you prevent problems while working with code in the editor before moving on to how to resolve problems thr…
When writing code, we constantly receive assistance from static analysis. Invisible mechanisms work behind the scenes to provide us with all sorts of suggestions and warnings. It would not be an exaggeration to say that IntelliJ IDEA knows more about our code than we do. Now what if we could access …
Many of the features we're going to talk about in this post have been mentioned elsewhere in this blog, but here we're going to bring them all together and show how to use them. Better Warnings You'll have seen before that IntelliJ IDEA can analyse your code and tell you if something isn't nee…
Earlier we mentioned that IntelliJ IDEA 2017.2 EAP features improved control flow analysis that infers the contracts of certain methods of String, Array, Collection and Map classes. With today’s EAP build, this analysis becomes even smarter. If that sounds like something you might be interested i…
It's been a while since we added the Analyze → Locate Duplicates feature. If you've had a chance to use it, you know how helpful it is: by eliminating duplicates in your code, you make it more concise and stable. If you've never used it, you definitely should; it's truly surprising how many duplicat…
One of the core principles of computer programming is eliminating manual repetition. Not only is repeated code time-consuming to read and review, it is disproportionately complex to maintain and provides a ready source of bugs when one copy changes. Yet in spite of this, duplicating some code in a l…
Java annotations are awesome and helpful, but you need to add them by hand. Well, not anymore, because IntelliJ IDEA will do that for you in some quite important cases. Jars in your dependencies are stuffed with methods and sometimes it may be difficult to tell whether you can pass null there wit…
The release of JDK 8 has introduced a number of new language features into Java vernacular. In this issue of The Inspection Connection, we will examine eight useful inspections that IntelliJ IDEA provides to help you become more fluent in functional programming on Java 8, migrate your legacy code, d…
As we're closing in on the release date, we're going to publish more details on the new features of IntelliJ IDEA 13. Today we'd like to tell you about the new @Contract annotation. If you are aware of @Nullable/@NotNull annotations, you probably know how helpful they are against NullPointerExcep…
We continue to publish new articles from the 30 Day Guide for learning the fundamental features of IntelliJ IDEA. Today we will talk about such basic thing as inspections. As you know inspections are built-in tools that help you find probable bugs, locate dead code, detect performance issues and i…
As you might know IntelliJ IDEA 12 will bring support for new features of Java 8 language. Though this is still in progress, you can try some of these features now in IntelliJ IDEA 12 EAP. Here we would like to provide some details on method and constructor refereces support. IntelliJ IDEA as alwa…