参考这篇文章:https://jingyan.baidu.com/article/c275f6baffeb11a23d7567dc.html
首先进入.idea文件夹打开workspace.xml。
找到ServiceViewManager/RunDashboard,添加如下代码。
保存配置后,重启IntelliJ IDEA。