# Inline dialogs

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

> **TL;DR**
> `Refactor | Inline`
>
>
>
> <context menu of a selection>`| Refactor | Inline`
>
>
>
> `Ctrl+Alt+N` (Windows), `⌘ ⌥ N` (macOS), `⌘ ⌥ N` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ N` (macOS System Shortcuts), `Ctrl+Alt+N` (XWin), `Ctrl+Alt+N` (GNOME), `Ctrl+Alt+N` (KDE), `Ctrl+Alt+N` (Emacs), `Ctrl+Alt+N` (Sublime Text), `⌘ ⌥ N` (Sublime Text (macOS)), `Ctrl+Alt+N` (VSCode), `⌘ ⌥ N` (VSCode (macOS))

## Inline Variable dialog

The Inline Variable refactoring allows you to replace a redundant variable with its value.

To access the Inline Variable dialog through a menu item or the keyboard shortcut, place the caret at the variable to be inlined.

The inline refactoring turns the following two variables:

```GO
name := person.Name
data := getData (name)
```

into

```GO
data := getData (person.Name)
```

Also, all occurrences of the `name` variable is replaced with `person.Name`.

## See also

### Procedures

### External Links

[https://blog.jetbrains.com/go/2018/10/26/refactorings-in-goland-extract-and-inline/](https://blog.jetbrains.com/go/2018/10/26/refactorings-in-goland-extract-and-inline/)

