找到.idea下面的workspace.xml文件,查看workspace.xml文件,找component 表情的RunDashboard。
- 有RunDashboard 则只需要在RunDashboard中添加option
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
- 没有RunDashboard 则可以直接添加以下代码
<component name="RunDashboard">
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
<option name="contentProportion" value="0.12131148" />
</component>
- 重新打开idea ,完成。