切记:关闭项目,或者关闭idea,否则下面的代码添加不上 1. 找到项目中.idea文件下的workspace.xml image.png 2. 编辑 workspace.xml并找到<component name="RunDashboard"> image.png