Martin Thoma
Martin Thoma

Reputation: 136359

How can I create an empty file without a filename / path in PyCharm?

Once in a while I just want to write some things down. I don't want to include it (at the moment) in any package and I don't want to think about where to store it. I just want to write. (I saw this, but there I have to decide where to store it before I write anything)

In Sublime Text, I make Ctrl+N. What do I do in PyCharm?

Upvotes: 1

Views: 589

Answers (1)

Dorian Turba
Dorian Turba

Reputation: 3735

You can use Scratch files :

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 procced as follow:

Create a scratch file

  1. Do one of the following:

    • Press Ctrl+Shift+Alt+Insert.
    • Press Ctrl+Shift+A, start typing scratch file and then pick the corresponding action.
  2. Select the language of the scratch file. Scratch files of the same type are automatically numbered and added to the Scratches and Consoles directory of the Project tool window .

Upvotes: 2

Related Questions