idea显示 RunDashboard ,多个启动项时列表显示

在.idea(项目所在文件夹中)下的workspace.xml文件中找到 

<component name="RunDashboard">

标签,然后添加如下节点

<option name="configurationTypes">
  <set>
    <option value="SpringBootApplicationConfigurationType" />
  </set>
</option>

如果找不到就添加下面代码

<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>
  </component>

 效果:

 

posted @ 2021-05-19 14:26  云村的王子  阅读(194)  评论(0编辑  收藏  举报