How to Maximize the Query Editor Window in SSMS

To get more space for writing the code, you can maximize the Query Editor window to Full Screen by pressing SHIFT+ALT+ENTER keybord keys:


The same option is available from View menu -> 'Full Screen':


To switch Query Editor window back to Normal view press SHIFT+ALT+ENTER again:


Related articles:
Horizontal and Vertical Tab Groups in SSMS
Split a Query Editor Window in SQL Server Management Studio (SSMS)
Web Browser in SQL Server Management Studio (SSMS)