CLion 2021.1 Help

Intentions

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

Use this page to enable and disable intention actions.

Intention List

The list shows all intention actions currently available in CLion.

The intention actions are grouped by languages. To enable an intention action, select the checkbox to its left.

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: 08 March 2021