Smart Completion

Get type aware completion in your code

Press⌃⇧␣ (macOS) / Ctrl+Shift+Space (Windows/Linux) to invoke smart completion. If the type can be determined then the list of suggestions will be filtered to the correct type.

Here are some places you can use it:

  • In the right part of assignment statements
  • In variable initializers
  • In return statements
  • In the list of arguments of a method call
  • After the new keyword in an object declaration
  • In chained expressions

Related Resources

Expand and Collapse Code
Expand and Collapse Code
Quickly view specific parts of a class by expanding or collapsing code
Move Statement
Move Statement
Move a statement up or down
Optimize imports
Optimize imports
Remove unused imports from your code