Intellij scratch files - how to delete them?

Viewed 3998

I have created a few scratch files in android studio (fork of Intellij). by going to tools-->new scratch file.

But now i have soo many scratch files and i dont know how to delete them since they auto save. Can anyone help ?

Some info: scratch files are used to prototype code without it actually mingling with your exisiting code. Its like a notepad which auto saves.

2 Answers

Switch to the Scratches view of the Project tool window.

  1. Switch to the Scratches view of the Project tool window.
  2. Under the Scratches pseudo-folder, right-click the scratch to be deleted, and choose Delete on the context menu.
  3. Confirm deletion.

enter image description here

Related