SmartType code completion helps you find functions and variables that are suitable in the current context, by analyzing the expected type of the whole expression.

For example, type

and press &shortcut:SmartTypeCompletion;.

SmartType completion also works after the return keyword, in an assignment, in an argument list, and other places.