解决IDEA中快捷键Alt+Enter不能使用
2019-08-13 本文已影响1人
試毅_思伟
1、打开快捷键设置
File ➡️ Settings ➡️ Keymap
搜索show Intention Actions,进行绑定按键
![](https://img.haomeiwen.com/i2743275/5a6236549df3e1c2.png)
2、打开设置
File ➡️ Settings ➡️ Editor ➡️ Intentions
搜索refactorings,将Introduce local variable这个选项勾选上
![](https://img.haomeiwen.com/i2743275/ecbca17e32932ffe.png)
File ➡️ Settings ➡️ Keymap
File ➡️ Settings ➡️ Editor ➡️ Intentions