CLion 2025.3 Help

Inline

Currently, CLion provides the Inline Function refactoring, which is opposite to the Extract function refactoring.

Perform inline refactoring

  1. Place the caret at the desired symbol to be inlined.

  2. Do one of the following:

    • From the main menu or from the context menu, select Refactor | Inline.

    • Press Ctrl+Alt+N.

  3. In the Inline dialog that corresponds to the selected symbol, confirm the inline refactoring or view the selected symbol usages in Find Refactoring Preview.

16 October 2025