Want IntelliJ IDEA T-Shirt?
Visit our Apparel Store!
Tag Archives: Java
Java developers have been busier than ever this April, and here at JetBrains, we’ve noticed! Each month, we’re excited to bring you the best Java content from around the web, straight to your favorite blog! If you have any topics … Continue reading
If you use completion autopopup in IntelliJ IDEA 11, you may have seen “n variants…” suggestions: This means there are two StringUtil classes available, neither of them is imported, and IDE can’t choose which of them to put to the first … 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
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
Sometimes I find myself writing repetitive code constructs without being able to extract common code due to Java syntax hmm… let’s call them peculiarities. ‘Sounds like a job for a live template’, I think, and I simply create it. Here’s … Continue reading
Do you often find yourself calling a super method with a large number of parameters? Typing all those arguments one by one is soooooo boring, isn’t it?! Don’t be upset anymore — latest Maia EAP can rescue you. Just use Smart … Continue reading
Say, you hit a breakpoint in Java code: And you cleanly see that component is a label: You now want to investigate label internals via Evaluate Expression (Alt+F8), e.g. invoke its getText() method, but component declared type is Component and it … Continue reading
Let’s talk about type casts — those things you hardly can avoid in JVM-based code. Being a helpful IDE, IntelliJ IDEA now does all the casting stuff for you when you are using its code completion in Java and Groovy. … Continue reading
Many API include methods like setXxx(int) where int is one of the predefined values, typically declared in the same class. The fact that these are just legacy methods that have been created prior to enums invention, does not stop IntelliJ … Continue reading