1

Everytime I want to run some simple Java/Groovy code in the Groovy Console, it saves a groovy file at my IntelliJ AppData directory (C:\Users\user\AppData\Roaming\JetBrains\IdeaIC2020.3\consoles\groovy\groovy_console_5.groovy):

enter image description here

There is a easy way to delete this file when close the Groovy Console window?

Victor Soares
  • 757
  • 1
  • 8
  • 34

1 Answers1

0

This behavior is by design and there is no way to change it. Many users complained that the code they written in the console can be lost, so it was changed to the scratch files type view.

You can still select and delete the older files manually.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904