52
votes

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.

3
Why the downvote? If you are going to downvote then give me feedback on why this question is being downvoted.Mike Rylander
Did you check the help? A comment from the announcement post references hotkeys in the help.admdrew
Agree, no need to downvote this. If the answer is so obvious, why not ask in a comment if OP tried it and if/why it didn't work... +1 back to zero from me.vikingsteve
@MikeMcCaughan What did you search to find that? All I was able to find was links to release summary.Mike Rylander
I searched for IntelliJ and found their product page on JetBrains' web site. Then I just clicked on Support, found a link to their online documentation, and found it there. Maybe I'm old-fashioned, but I actually navigate around web sites without using search :).Heretic Monkey

3 Answers

71
votes

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

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

10
votes

Windows/Linux: Ctrl + Alt + Shift + Insert

9
votes

In Mac the shortcut is: ShiftctrlN

Key map Mac OSX 10.5 : ShiftN