IntelliJ 最近的 grails 命令

IntelliJ Recent grails commands

如何从 运行 Grails 命令(运行Target)对话框中清除最近 grails 命令的历史记录?

我不确定如何从 UI 执行此操作,但您可以从 grails.command.history 属性 名称下的 <user_home>\.Intellij<version>\config\options\options.xml 中删除不需要的值。

只需删除不需要的值并重新启动应用即可。

<property name="grails.command.history" value="clean" />

您也可以只删除整个 grails.command.history 行,这将删除所有条目。