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