To close all editor tabs, right-click a tab and select Close All.

To close all tabs except the active one, press Alt and click the Close button the Close button on the active tab.