设置idea配置 在按快捷键:Ctrl+Shift+Alt+/ 勾上之后重启一下idea,就ok啦! 原文传送门:https://blog.csdn.net/MakeLoveWith/article/details/81197033