打开设置——找到Keymap——搜索show Intention/context Actions,查看按键是否正确,不正确修改(注意是否冲突)Editor->Intentions->Refactorings,将Introduce local variable这个选项勾选上,点击Apply然后点击确认就可以了。