Applying Intention Actions
IntelliJ IDEA displays an intention action alert, and it is your task to define which action (if any) should be performed.
To apply an intention action
- Click the light bulb icon, or use the Alt+Enter keyboard shortcut to bring up the suggestion list.
- Click the desired option, or use the arrow keys to select the option and press Enter.
Last modified: 23 November 2016