Inline a method

Inline a method

Press ⌥⌘N (macOS) / Ctrl+Alt+N (Windows/Linux), to inline a method.

You can inline methods, variables, fields, and constants with the same shortcut.


Related Resources

Extract Method
Extract code to a new method
Inline Variable
Inline a variable in your code
Introduce variable
Refactor your code and introduce a new variable