java - 如何激活 IDEA 的 "Run Dashboard"功能

标签 java intellij-idea

我在项目 A 中有一个名为“Run Dashboard”的窗口工具,但我无法在项目 B 中激活此窗口。有人知道如何解决这个问题吗?该功能出现在 IntelliJ IDEA 2017.3 版中。

这是我在项目 A 中看到的: long menu of run-related buttons with "Run Dashboard" button at end

这是我在项目 B 中看到的: menu of run-related buttons similar to the one in Project A, but without the "Run Dashboard" button

此选项在项目 B 中存在但不可激活: screenshot of search for "Run Dashboard" feature showing it grayed out

但它可以在项目 A 中激活: screenshot of search for "Run Dashboard" feature showing it selectable

最佳答案

将运行配置添加到Edit Run/Debug Configurations dialog 中的运行仪表板中可用的配置 列表中在 Defaults(current IDE versions 中的模板)节点下:

dashboard

在 Spring Boot 项目中,如果您有多个此类运行/调试配置,则会自动启用 Run Dashboard。

关于java - 如何激活 IDEA 的 "Run Dashboard"功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49424266/

相关文章:

java - 更新选项中抛出错误

intellij-idea - PHPStorm 和 Intellij 中的工具栏图标大小

java - android项目中Intellij-Idea的渲染问题

java加载像ClientBundle GWT这样的资源文件

java - 看似无关的代码块被注释掉时出现 OutOfMemoryError

java - java程序运行时出现问题

java - 乱序链构造函数

intellij-idea - 为什么intellij不提供存储SSH session 的功能

java.lang.NoClassDefFoundError : org/slf4j/LoggerFactory even though I have the right dependencies

java - 使用 IntelliJ IDEA 设置 JUnit