Shortcut to close all opened files in IntelliJ
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)