The Quick Navigator window is an editor that helps to navigate to the typed qualified element name.
The qualified element name is relative to the scope of the currently selected element in the Class view, or the Designer editor, whichever has the focus in the Quick Navigator window.
In the case of multiple selected items, the scope element defaults to the last selected item.
Note: The scope element can only be one element.
You can open the Quick Navigator window either by the View menu > Other windows > Quick Navigator window, or by using the Alt+G keys.
Note: If you cannot open, the Quick Navigator window by using the Alt+G keys, perform the following steps to create a shortcut for Quick Navigator window:
Update the shortcut for the Debug.GotoDisassembly as follows:
Navigate to Tools > Options > Environment > Keyboard.
In the Show commands containing field, enter Debug.GotoDisassembly.
The list of commands containing “Debug.GotoDisassembly” appears.
Select Debug.GotoDisassembly from the list.
In the Press shortcut keys field, type Ctrl+K,G.
Click Assign, and then click OK.
The shortcut for the Debug.GotoDisassembly is updated.
Add the shortcut for Quick Navigator window as follows:
Navigate to Tools > Options > Environment > Keyboard.
In the Show commands containing field, enter QuickNavigatorWindow.
The list of commands containing “QuickNavigatorWindow” appears.
Select View.QuickNavigatorWindow from the list.
In the Press shortcut keys field, type Alt+G.
Click Assign, and then click OK.
The shortcut for the Quick Navigation window is created.
To perform a quick navigation:
Type the qualified name of the required element in the Quick Navigator window (Quick Navigator supports autocomplete).
Right-click the qualified name of the element, and select GoTo.
The Designer editor displays the default tab for the selected element. The Window title displays the scope name to identify the scope of the element.
This window supports auto-completion. Auto completion and navigation use the scope element to retrieve the required information. Auto-completion is initiated when a "." (period) is entered or the Ctrl+Space key combination is used.
You can also supply the name or a parameter to open the element in a specific tab. For this, you must enter a "/" (forward slash) followed by a two letter identifier as shown in the table below. If there is no parameter supplied, the element opens in its Default tab.
Identifier | Parameter |
---|---|
pr | Properties |
me | Members |
in | Inheritance |
de | Dependencies |
la | Language |
lo | Locks |
lg | Logic |
ls | Logic Status |
mp | Parameters |
mo | Overrides |
uml | Class Diagram |
pa | Painter |
paf | Fixed Painter |
pag | Graphical Painter |
pap | Print Painter |
pc | ProfileConditions |
pk | ProfileKeys |
vl | ValueChecking |
do | Documentation |
un | Unresolved |
Auto-completion is also available to assist in entering the parameters. When the forward slash is typed, the auto-completion list opens with the list of parameters. The list includes the name of the tab that is displayed.
Within the window, there is a context menu, which contains the following items:
Go to – execute the current line.
Set Scope to – change the scope for the selected item.
Synchronize class view – synchronizes the selected item with the class view.
Cut, Copy, Paste – standard clipboard operations.
Select All – select all the text in the window.
The window saves its contents to the .suo file when the window is closed and the contents restored when it is reopened.