Reputation: 106508
I'm loving the fact that I can create scratch files on the fly in IntelliJ, but I'm noticing a caveat - I can't change the type of the scratch file while I'm in Distraction Free mode.
I'm well aware that I can use the status bar to switch it around, but if I'm in distraction free mode, I can't see it specifically (even when I double-tap ALT to view the status bar).
Is there a way for me to be able to switch out the language of a scratch file without having to disable distraction free mode?
Upvotes: 2
Views: 711
Reputation: 32026
Note: this only applies to IntelliJ 15 and newer, or JetBrains IDEs that are based on IntelliJ 15 or newer.
Two options for you:
OPTION 1
Find Action
dialog via Ctrl+Shift+A / ⇧⌘SOPTION 2
Map a keyboard (or mouse) shortcut to the "Change File Language" action in Settings > Keymap > Other > Change File Language and use it to invoke the action.
Upvotes: 3