When you just need to quickly complete an obvious statement, you press
and it's done. This is referred to as Basic Completion
or Instant Completion
. Basic completion comes handy also when you want to look at the full list of choices available in the current context or need to complete a keyword.
If you need more precision, but don't want to scroll through a possibly very long list of options, you then use to to
narrow the selection down by the expression type. This is referred to as Smart Completion
and it basically filters the list for you so that you can get what you need more quickly. If you invoke Smart Completion a second time it will even show you the symbols that can be reached through a chained method call.
The third type of code completion is Class Names Completion
and it is activated through
. It works by suggesting a class name from the letters you just type. It uses the typed letters as a substring to be contained in the class name or as initials of words that may form the actual class name. If the class requires an import statement, the right import statement is also added to the source file.