ID Window.Expand
Menu Window→Expand
Default Shortcut none

Command expands current window so that it occupies complete main window space. Can be applied as on document windows as on tool windows.

In addition to possibility to be called from menu or by shortcut, command is available from windows toolbars.

Expand on Document Tab Expand on Tool Window

Expand window is also default action for double click on tab or tool window header.
Behaviour of double click on Document tab can be modified with XML flag.