DataGrip 2019.1 Help

Intentions

File | Settings | Editor | Intentions for Windows and Linux
DataGrip | Preferences | Editor | Intentions for macOS
Ctrl+Alt+S
icons general settings svg


Use this page to enable and disable intention actions.
(In certain situations, DataGrip suggests intention actions, ones aimed at fixing a problem or improving your code. In such cases, a light bulb icon appears, e.g. icons actions intentionBulb svg.)

Toolbar and Controls

Item

Tooltip and shortcut

Description

icons actions expandall svg Ctrl+NumPad Plus

Expand all nodes in the intention list.

icons actions collapseall svg Ctrl+NumPad -

Collapse all nodes in the intention list.

Find

Use this text box to search through the list of intention actions. As you type a search string, the intention actions that match the search pattern are displayed. To finalize the search, press Enter. The previously used search patterns are stored in the search history list.

icons actions clear

Click this button to clear the search history list.

Description

This read-only field shows the description of the selected intention action.

Usage examples

This area illustrates the effect of applying the selected intention action through the following fields:
  • Before - this read-only field shows an example of source code before applying the selected intention action.

  • After - this read-only field shows the result of applying the selected intention action to the above example of source code.