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

Item Tooltip and shortcut Description
Expand all Ctrl+NumPad + Expand all nodes in the intention list.
Collapse all Ctrl+NumPad - Collapse all nodes in the intention list.
Find Use 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.
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.

Last modified: 19 August 2020