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

Close others