# 定数の導入ダイアログ

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

> **TL;DR**
> `リファクター | 定数の抽出`
>
>
>
> `Ctrl+Alt+C` (Windows), `⌘ ⌥ C` (macOS), `⌘ ⌥ C` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ C` (macOS System Shortcuts), `Ctrl+Alt+C` (XWin), `Ctrl+Alt+C` (GNOME), `Ctrl+Alt+C` (KDE), `Ctrl+Alt+C` (Emacs), `Ctrl+Alt+C` (Sublime Text), `⌘ ⌥ C` (Sublime Text (macOS)), `Ctrl+Alt+C` (VSCode), `Ctrl+Alt+C` (VSCode (macOS))

|  項目  |  説明  |
| --- | --- |
|  命名  |  新しい定数の名前を入力します。  |
|  出現箇所をすべて置換  |  このオプションを選択すると、選択した式が出現するたびに自動的に置き換えられます (式がメソッド内で複数回出現する場合)。  |

## See also

### 外部リンク

[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/)

