# Intentions

> **TL;DR**
> `File | Settings | Editor | Intentions` for Windows and Linux
>
>
>
> `CLion | Settings | Editor | Intentions` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![Settings](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

Use this page to enable and disable [intention actions](intention-actions.html).

## 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](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.expandAll.svg)  |  `Ctrl+NumPad +` (Windows), `⌘ NumPad +` (macOS), `⌘ NumPad +` (IntelliJ IDEA Classic (macOS)), `⌘ NumPad +` (macOS System Shortcuts), `Ctrl+NumPad +` (XWin), `Ctrl+NumPad +` (GNOME), `Ctrl+NumPad +` (KDE), `Ctrl+NumPad +` (Emacs), `Ctrl+NumPad +` (Sublime Text), `⌘ NumPad +` (Sublime Text (macOS)), `⌘ NumPad +` (Xcode), `Ctrl+NumPad +` (Visual Studio), `⌘ NumPad +` (Visual Studio (macOS)), `Ctrl+NumPad +` (ReSharper), `⌘ NumPad +` (ReSharper (macOS)), `Ctrl+NumPad +` (QtCreator), `Ctrl+NumPad +` (QtCreator (macOS)), `Ctrl+NumPad +` (NetBeans), `Ctrl+Shift+NumPad *` (Eclipse), `⌘ ⇧ NumPad *` (Eclipse (macOS))  | Expand all nodes in the intention list. |
|  ![Collapse all](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.collapseAll.svg)  |  `Ctrl+NumPad -` (Windows), `⌘ NumPad -` (macOS), `⌘ NumPad -` (IntelliJ IDEA Classic (macOS)), `⌘ NumPad -` (macOS System Shortcuts), `Ctrl+NumPad -` (XWin), `Ctrl+NumPad -` (GNOME), `Ctrl+NumPad -` (KDE), `Ctrl+NumPad -` (Emacs), `Ctrl+NumPad -` (Sublime Text), `⌘ NumPad -` (Sublime Text (macOS)), `⌘ NumPad -` (Xcode), `Ctrl+NumPad -` (Visual Studio), `⌘ NumPad -` (Visual Studio (macOS)), `Ctrl+NumPad -` (ReSharper), `⌘ NumPad -` (ReSharper (macOS)), `Ctrl+NumPad -` (QtCreator), `Ctrl+NumPad -` (QtCreator (macOS)), `Ctrl+NumPad -` (NetBeans), `Ctrl+Shift+NumPad /` (Eclipse), `⌘ ⇧ NumPad /` (Eclipse (macOS))  | Collapse all nodes in the intention list. |
|  ![Find](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.toolwindow.find.svg)  |  | 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` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `⏎` (Xcode), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (ReSharper), `⏎` (ReSharper (macOS)), `Enter` (QtCreator), `⏎` (QtCreator (macOS)), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)). The previously used search patterns are stored in the search history list.  |
|  ![Clear](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.closeSmall.svg)  |  | 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.    |

## See also

### Concepts

[Intention actions](intention-actions.html)

