Issue
Small question on how to delete an entry from Intellij -> Execute Maven Goal tab please.
So in Intellij, there is a Maven tab. There is a Maven command "Execute Maven Goal".
In it, a "Run Anything", "Recent" and "Maven Goals".
After inputting a maven command in "Run Anything", it will go to "Recent" (and stay there kinda forever).
However, how to remove it from there, please?
Thank you
Solution
The entries from Execute Maven Goal tab are stored in your project folder, in .idea/workspace.xml
file, under <component name="RunAnythingCache">
section. An example from my project below.
The history entries:
are stored as:
<component name="RunAnythingCache">
<option name="myCommands">
<command value="mvn clean package" />
<command value="mvn package" />
</option>
</component>
In order to delete an entry, manually edit workspace.xml
file. I needed to close my IntelliJ project and edit it in external text editor, to avoid that the file is constantly overwritten by IDE.
Answered By - WookiePL
Answer Checked By - Senaida (JavaFixing Volunteer)