Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a scratch file in IntelliJ 14?

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.

like image 978
Mike Rylander Avatar asked Nov 05 '14 17:11

Mike Rylander


People also ask

How do you make a new file on scratch?

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.

What's a scratch file?

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]

Which directory is used for holding scratch files?

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.


1 Answers

Tip: you can find any action in the menu "Help" -> "Find Action...".

This specific action is in the menu "Tools" -> "New Scratch File...".

like image 138
uwolfer Avatar answered Oct 18 '22 18:10

uwolfer