IntelliJ IDEA code completion comes in three different flavors (for more details, see Completion Features). On this page we're describing what's relevant to Scala code.
Each next Ctrl+Space will:
- First: show all variables based on simple resolution with appropriate access modifiers (private and protected are filtered out)
- Second: add all possible references, including implicit conversions of appropriate type (incorrect access members are still filtered out)
- Third: add inaccessible members (e.g. private fields).
Ctrl+Shift+Space shows suggestions list based on an expected expression type.