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
本文标题:解决IDEA中快捷键Alt+Enter不能使用
本文链接:https://www.haomeiwen.com/subject/gyubjctx.html
网友评论