Inline
Use the Inline refactoring to reverse the extract refactoring for a method or a variable.
Place the caret at the code fragment you want to inline.
Press Ctrl+Alt+N. Alternatively, select
from the main or context menu.In the Inline dialog, specify the inlining options.
Preview and apply changes.
![Inline editing in GoLand](https://resources.jetbrains.com/help/img/idea/2021.1/go_inline_editing.png)
Last modified: 08 July 2021