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