How to: Manage the Editor and View Mode
The Editor gives you a number of ways to control the view of your code.
SQL Server Management Studio features a view mode called Tabbed Documents, which allows you to open multiple editors and documents simultaneously and access them through tabs at the top of the Editor. You can alternatively open the Management Studio environment in Multiple Document Interface (MDI) mode, which joins windows without the tabs, and allows each window to be tiled, minimized, and so on.
An Editor window can be split into two separate parts for easier editing.
The new pane contains the same document, and any changes made to one pane are reflected in the other pane as long as that pane displays the same place in the document.
When you activate Word Wrap, the horizontal scrollbar is removed and lines of code that exceed the width of the Editor's window size automatically wraps to the next displayed line rather than scrolling off the side of the window.
In Virtual Space mode, the Editor acts as if the space past the end of each line is filled with an infinite number of spaces, allowing code lines to continue off the side of the visible screen area.
When Virtual Space mode is not enabled, the cursor wraps from the end of one line to the first character of the next line and vice-versa.
You can turn on line numbering in your code. Line numbers are useful for navigating code. For more information, see Navigating Code and Text.
|Turning on line numbering does not mean that the document will print with line numbers. For line numbers to print, you must select the Line numbers check box in the Page Setup command on the File menu.|
To specify line numbering for only some programming languages, select Line Numbers in the appropriate folder.
You can choose to hide all tool windows and view only document windows by enabling Full Screen mode.