Want IntelliJ IDEA T-Shirt?
Visit our Apparel Store!
Author Archives: Peter Gromov
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
How are you learning stuff about IntelliJ IDEA? Reading this blog, using Productivity Guide from the Help menu, or even maybe reading the documentation, right? None of these contain all the information you need, though. This is why we decided … 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
The next Maia EAP brings you massive changes in Groovy, Grails, Griffon, Gant & Gradle support, mostly affecting framework configuration. First, Grails/Griffon application options are available when you create a project or a module: You may also choose to import … Continue reading
The latest Maia EAP features lightweight support for Gradle build framework. You can add Gradle library to a Groovy facet: You can also run Gradle scripts via Ctrl+Shift+F10 in a script file:
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
The next Maia EAP brings you basic Griffon support, similar to Grails integration. You’ll be able to add Griffon library to Groovy facet: IntelliJ IDEA will then create a Griffon application or plugin directory structure and take all the steps necessary … Continue reading
In the upcoming Maia EAP you won’t find separate actions for creating classes, interfaces, enums or @interface anymore. Just one action that does not clutter your desktop — New Java Class.This does not mean you won’t be able to create … Continue reading
Do you use second smart completion feature? Did you know that it also can help you when you have an array and want an element of it? Just press Ctrl+Shift+Space two times when completing: