If you want to quickly hide everything except the tab you’re working on, just double-click the tab. To switch back, just double-click it again. This works on any tab, not just editor tabs.