Scratch files are mentioned in the release announcement for IntelliJ 14 but it does not mention how to create or use them. Any links to documentation would be extremely helpful.
What I Have Already Tried
I have already performed several web searches for creating scratch files and the only things that have turned up are articles talking about the feature, none of which specify how to actually use the feature.
I have also tried "File"->"New...", but there is no option for scratch files.
I did find some documentation on scratch files in a PhpStorm plugin, but, despite both being JetbBrains products, that appears to be completely unrelated and none of those shortcuts work.
You can use ⇧⌘N (macOS), or Ctrl+Alt+Shift+Insert (Windows/Linux) to create a new scratch file. If you have content selected then the new scratch file will contain that content.
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]
Tip: Scratch files and buffers are stored in the IDE configuration directory under scratches. They are available from any IDE and project that uses this configuration directory.
Tip: you can find any action in the menu "Help" -> "Find Action...".
This specific action is in the menu "Tools" -> "New Scratch File...".
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