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