Skip to content
Advertisement

What is a Scratch File?

I am currently trying to figure out all the functions that my IDE has, and I have come across a predefined folder when I create a project that is called ‘scratches and consoles’.

The IDE only allows me to create Scratch Files but I donĀ“t know what that kind of file is and what Is its purpose. Could someone give me a hand with this?

enter image description here

Advertisement

Answer

It’s something like temporary notes with ability to highlight/format your code.

Sometimes you may need to create temporary notes or draft up some code outside of the project context. Instead of switching to a different application for this purpose, you can use scratch files and scratch buffers.

You can read more about it at JetBrains – Scratch files.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement