Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcut to close all opened files in IntelliJ

Is there a shortcut in IntelliJ IDEA to close all opened windows?

like image 449
Eugene Avatar asked Jun 15 '12 14:06

Eugene


People also ask

How do I close all projects in IntelliJ?

From the main menu, select File | Close All Projects. This action closes all projects that are currently opened in IntelliJ IDEA.

What is Ctrl Shift O in IntelliJ?

In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.

What is Ctrl h in IntelliJ?

Ctrl + H = "Type Hierarchy" view = shows a tree of parent and child classes of this class. Ctrl + Shift + A = "It does a search as you type through all the commands in intellij. Not only that but when you find the command you want it also displays the corresponding shortcut key next to it!"


2 Answers

There is no shortcut in the default keymap, but you can assign it in Keymap settings for the Close All action.

like image 129
CrazyCoder Avatar answered Sep 21 '22 20:09

CrazyCoder


You can also close all open files from Menu > Window > Editor tabs > Close all (or on mac: Command + F4)

like image 40
Surendra Konathala Avatar answered Sep 20 '22 20:09

Surendra Konathala