CLion 2021.2 Help

Intentions

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

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: 03 September 2021