新建的项目运行后可能不出现Run Dashboard,希望切换成Run Dashboard运行需要进行手动修改,首先在.idea
文件夹下的workspace.xml
中查找RunDashboard
,结构如下:
<component name="RunDashboard">
<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.15435259" />
</component>
然后将如下内容添加其中(component
标签内):
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
保存后RunDashboard就会自动出现