As you know code completion in IntelliJ IDEA constantly evolves. Here’s a few new features coming in IntelliJ IDEA 12:
- Middle matching
- Class Name Completion in Basic Completion
- Completion statistics in Productivity Guide
- Other minor improvements
First of all, we now have middle matching. It means you no longer have to write what you need from the start. You may just as well type some camel-hump word that’s in the middle of an identifier. This can be quite useful when you only remember a part of name, or if you’re just tired of those get and set prefixes.
Class Name Completion
Second, we no longer have Class Name Completion. The reason is that three different completion types is too many for people coming from other IDEs :). Besides, it’s main use case is already covered by Basic Completion (Ctrl+Space). You need just to press the shortcut twice to see all classes. But don’t despair if you’re used to it. The shortcut Ctrl+Alt+Space is still supported.
Completion Statistics in Productivity Guide
Third, now you can see how effective it is to use code completion. Go to Help | Productivity Guide and see for yourself.
There are also some enhancements in suggestion sorting and pre-selection. IntelliJ IDEA now tries even harder to guess what you want to type and suggest this options as the most relevant.