I am using IntelliJ 2019.3 and I want to delete "execute maven goal" in Run Anything history. How can I do that?
All the answers I found was to delete workspace.xml but that does not work for this version.

One other way of deleting it, is selecting it by going to it with your cursor keys, then press shift+backspace. This does not require editing the workspace.xml
This information is indeed stored in .idea/workspace.xml file inside the project:
<component name="RunAnythingCache">
<option name="myCommands">
...
</option>
</component>
Note that workspace file can be relocated to IntelliJ IDEA system directory in the Maven based project if you have the option to store generated project files externally enabled.
In this case, you will find the workspace file here:
idea.system.path\workspace\<project_name>.<hash>.xml
When modifying these files, make sure IDE is not running or the project is closed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With