问题
Is there a shortcut in IntelliJ IDEA to close all opened windows?
回答1:
There is no shortcut in the default keymap, but you can assign it in Keymap settings for the Close All action.
回答2:
You can also close all open files from Menu > Window > Editor tabs > Close all (or on mac: Command + F4)
回答3:
No default shortcut, but you can use the Search Everywhere shortcut to call it:
Shift + Shift + Type: Close All
+ Enter
Alternatively:
Ctrl + T + Type: Close All
+ Enter
One more way just for fun:
Ctrl + Shift + A + Type: Close All
+ Enter
来源:https://stackoverflow.com/questions/11052292/shortcut-to-close-all-opened-files-in-intellij