DataGrip 2020.3 Help

Intentions

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

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, for example Intention Bulb.)

Toolbar and Controls

ItemTooltip and shortcutDescription
Expand allCtrl+NumPad +Expand all nodes in the intention list.
Collapse allCtrl+NumPad -Collapse all nodes in the intention list.
FindUse this field 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.
ClearClick this button to clear the search history list.
DescriptionThis read-only field shows the description of the selected intention action.
Usage examplesThis 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.

Last modified: 19 August 2020