Tips & Tricks

30 Days with IntelliJ IDEA. Code Completion

We continue to publish new articles from the 30-day guide on the most tricky features of IntelliJ IDEA. Today we would like to share with you the next article, about the code completion assistance.

Middle matching

Not everyone knows that since IntelliJ IDEA 12 the IDE supports so-called Middle matching. It means that you don’t necessarily need to type an identifier from the beginning. For example, if you only remember a part of the name, just type it and IntelliJ IDEA will still find the right matches for you.

Quick popups

One more tricky feature of code completion is support for quick popups such as Quick documentation (via Ctrl + Q, or Ctrl + J for Mac) or Quick definition (via Shift + Ctrl + I, or Shift + Cmd + I for Mac). These popups are available when you browse suggestions in code completion. In many cases Quick Definition info is more useful than even documentation, especially when you are not sure, which method is to use.

Please find the complete article about the available code completion features here.

Stay tuned for more articles soon, and develop with Pleasure!

image description