pythonpycharmscratch-file

Open a new scratch file in PyCharm?


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.


Solution

  • You can create a scratch file by going to "Tools" -> "New Scratch File..."

    New Scratch File Menu Option

    This presents you with the "New Scratch" dialog

    New Scratch File 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"

    Modify Scratch pad keyboard shortcut