title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | monikerRange | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Navigate Code and Text |
Learn how to navigate through a document with various techniques: set a bookmark for a location to make it easy to return to that location; search incrementally; use mouse and keyboard; and, use the Go To command to go to a line by specifying its line number. |
markingmyname |
maghan |
03/01/2017 |
sql |
ssms |
conceptual |
|
>=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current |
[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]
You can move through text by using:
-
Bookmarks.
-
Incremental search.
-
Mouse and navigation keys.
-
The Go To command.
Note
For a complete list of keyboard shortcut keys, see SQL Server Management Studio Keyboard Shortcuts.
To edit a document elsewhere and then return to your original location, add a bookmark. You set bookmarks and move to them using keyboard shortcuts. View the bookmarks in the bookmark window.
Incremental search helps you navigate directly to locations in the current document as you enter the search characters. You can access incremental search with keyboard shortcuts.
The most common way to navigate text is with the mouse and navigation keys:
-
Use the LEFT ARROW and RIGHT ARROW keys to move one character at a time or in combination with the CTRL key to move one word at a time. The UP ARROW and DOWN ARROW keys move one line at a time.
-
Click a location to place the cursor there.
-
Use the scroll bars or scroll wheel on the mouse to move through the text.
-
Use the HOME, END, PAGE UP, and PAGE DOWN keys to move through the text.
-
Use CTRL+PAGE UP and CTRL+PAGE DOWN to move the insertion point to the top or bottom of the window, respectively.
-
Use CTRL+UP ARROW and CTRL+DOWN ARROW to scroll the view without moving the insertion point.
Use the GoTo command to go to a specific line number. To make line numbering visible, in the Options dialog box, click Text Editor, click All Languages, click General, and then select Line numbers.
To go to a specific line number
-
Click Go To on the Edit menu
-
Enter the line number you want to view