打开springboot的run dashboard

默认情况下,idea的run dashboard是关闭的,当检测到你有多个springboot项目时会弹出提示框,询问是否打开。

如果我们想要自己打开,需要修改配置。

在你的idea的项目目录中,有一个.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>
  component>

然后在Component中添加下面的内容:

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

 

你可能感兴趣的:(打开springboot的run dashboard)