提取常量(代码生成与重构快捷键)
在 IDEA快捷键大全 中,提取常量对应的快捷键为 Ctrl + Alt + C(Windows/Linux)或 ⌘ + ⌥ + C(Mac)。
如需自定义,可在 Window → Preferences → General → Keys 中搜索并修改对应快捷键。