Smart Completion

Get type aware completion in your code so you can focus on solving problems.

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

Convert Class to Record
Convert Class to Record
Use inspections to convert classes to Java 16 records.
Create New Class
Create New Class
Quickly add new classes to your project.
Extend Selection
Extend Selection
Extend and shrink your current code selection.