In PyCharm 4.5, one of the new features is listed as "Temporary Python Scratch Files". How do I create these?
I've searched through the "New" menu and haven't been able to find it. When I select "New...", I am given the option to create permanent files.
In the Project tool window, open the Scratches and Consoles | Scratches. Right-click a scratch file or buffer and then click Change Language. Select the desired language. You can start typing the name of the language to narrow down the list.
A scratch file is a temporary computer file which you use as a work area or as a store while a program is operating. [computing] COBUILD Advanced English Dictionary. Copyright © HarperCollins Publishers.
The scratch files are saved along with all preferences in a path specific to each version of your editor. In case of MacOS it's ~/Library/Preferences/PhpStorm2018. 2 . This means that when you update your IDE, it starts using the new path and it doesn't see your old scratches anymore.
You can find any PyCharm command with Help/Find Action menu! It is really useful.
You can create a scratch file by going to "Tools" -> "New Scratch File..."
This presents you with the "New Scratch" dialog
If you are a fan of keyboard short cuts, the default for this is Ctrl+Alt+Shift+Insert.
This key combination can be modified by going to "File" -> "Settings" -> "Keymap" and searching for "Scratch"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With