在工程目录下找.idea文件夹下的workspace.xml,在其中增加如下组件
<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>
新建的非springboot构建的springboot项目,可通过Edit Configuration... 添加springboot
选择带有@SpringbootApplication的springboot启动类,接下来会显示出来