Is there a shortcut in IntelliJ IDEA to close all opened windows?
From the main menu, select File | Close All Projects. This action closes all projects that are currently opened in IntelliJ IDEA.
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.
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!"
There is no shortcut in the default keymap, but you can assign it in Keymap settings for the Close All action.
You can also close all open files from Menu > Window > Editor tabs > Close all (or on mac: Command + F4)
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