Adds a new command to the command palette which closes all tabs except for the active one. The command is called Close all but the active tab (
For unsaved files, you'll be prompted to save them first.
For simplicity, if you have more than one tab group, the active tab in each group will remain open.
This extension does not include any settings but you can bind the command to a keyboard shortcut if you wish.