Want IntelliJ IDEA T-Shirt?
Visit our Apparel Store!
Author Archives: anet
For quite a while IntelliJ IDEA can detect probable NPE’s in your code. But you have to annotate it with JetBrains’ @Nullable/@NotNull. In order to leave your code free from JetBrains’ annotations you could use external annotations, but they were not so … Continue reading
As a logical next step after inplace introduce variable refactoring we did in IntelliJ IDEA 10, version 10.5 will offer inplace introduce parameter. Here is a brief overview of what we’re working on. Once called, it will gently ask you to … Continue reading
For a long time already IntelliJ IDEA can detect probable NPE’s in your code. You need to annotate your methods/fields/variables with @Nullable/@NotNull annotations and IntelliJ IDEA will highlight possible contract violations. Good. But the annotations only begin to work when … Continue reading
Introduce variable is one of those refactorings used many times a day. So, how can we make it work faster? Get rid of modal dialogs! So, in order to introduce a variable from an expression press Ctrl+Alt+V. Remember modal dialog? … Continue reading
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
To quickly create a new class I press Alt+Home and then Alt+Ins. And you?
I often forget to add newly created tests to the testng.xml, which is used in our TeamCity build, and by the time I realize that they don’t run something is surely went wrong. What a bummer! Not any more, fortunately … Continue reading