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

Close others