To close all editor tabs except the current one, keep Alt (Windows and Linux) or Alt(Option) (macOS) pressed and click on the current editor tab.