How do I get back scratch files I closed ?

已回答

Say you create a scratch file. It's named "scratch.9". When I close this scratch file, how can I get back the content ? I can't find a view of recent scratch files.

Many thanks

3
Avatar
Permanently deleted user

ok, thanks

:)
0

Does that mean that the file is not even somewhere in the depths of IDEA's temp files dir?

0

You can find them in intellij config folder. In my case (using PyCharm) here:  `~/.PyCharm2019.3/config/scratches/scratch_1.py`

0

We can also access them directly from the Project Tool Window


Please follow the link for getting more information.

20

Great tip @Egor

0

This was enough for me to back to my old IDE, there right from the termnal I can open any file and it loads in the IDE for editing.

0

Egor Klepikov 

for ( int i = 0; i < 1000; i++)
System.out.println("Thanks");
0

请先登录再写评论。