--- title: "Maximizing Query Editor | Microsoft Docs" ms.custom: "" ms.date: "03/01/2017" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" ms.technology: - "database-engine" ms.tgt_pltfrm: "" ms.topic: "article" applies_to: - "SQL Server 2016" ms.assetid: 635c2845-93c5-4c7f-8f33-ea848ca48b7c caps.latest.revision: 24 author: "BYHAM" ms.author: "rickbyh" manager: "jhubbard" --- # Lesson 2-3 - Maximizing Query Editor Programmers frequently ask, "How can I get more room to write my code?" The answer is that there are two ways, both easy: maximize the Query Editor window and hide your unused tool windows. ## Maximizing the Query Editor Window #### To maximize the Query Editor window 1. Click anywhere in the Query Editor window. 2. Press SHIFT+ALT+ENTER to toggle between full-screen mode and regular mode. This keyboard shortcut works with any document window. ## Hiding Tool Windows #### To automatically hide all tool windows 1. Click anywhere in the Query Editor window. 2. On the **Window** menu, click **Auto Hide All**. 3. To restore the tool windows, open each tool, and then click the **Auto Hide** button on the window to pin it open. ## Next Task in Lesson [Using Comments](../../tools/sql-server-management-studio/lesson-2-4-using-comments.md)