Close all editor tabs
To close all editor tabs, right-click a tab and select Close All Tabs.
To close all tabs except the active one, press Alt (on Windows and Linux) / ⌥ (on macOS) and click the Close button on the active tab.