Author Archives: cdr

Use the UTF-8, Luke! File Encodings in IntelliJ IDEA

Today we would like to answer the most frequent questions about file encodings in the IDE and show you a few tricks, which may help you to avoid potential pitfalls. What is the problem with file encodings? To be able … Continue reading

Posted in Tips & Tricks | Tagged | 10 Comments

New “Magic Constant” Inspection

Have you ever cursed an API which uses magic integer constants instead of the proper enumeration? What should I pass as the titleJustification parameter here? 0 or 1? Can I pass “42″ for the titlePosition parameter? Even Javadoc won’t know. … Continue reading

Posted in New Features | Tagged | 10 Comments

Analyzing Dataflow with IntelliJ IDEA

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

Posted in New Features | Tagged , | 15 Comments

Type Annotations (JSR-308) Support

As you all know, JDK 7 includes new java syntax for Annotations on Types (JSR-308) To enable JSR-308 support in Maia, set the Java language level level to 7: Then you can declare and use your weird type annotations almost … Continue reading

Posted in New Features | Tagged , | 3 Comments

Show Usages Popup Facelift

Maia brings you an improved Show Usages popup (Ctrl+Alt+F7): Filter buttons let you show or hide usages right from the popup Open Find Usages Tool Window button shows all usages in a tool window like Find Usages command Options button … Continue reading

Posted in New Features | Tagged | 8 Comments

Global unused declaration inspection

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

Posted in New Features | Tagged , | 16 Comments