Inline
Currently, CLion provides the Inline Function refactoring, which is opposite to the Extract function refactoring.
Perform inline refactoring
Place the caret at the desired symbol to be inlined.
Do one of the following:
From the main menu or from the context menu, select .
Press Ctrl+Alt+N.
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