Navigate

This section documents the menus and dialogs associated with the Navigate menu.

Navigate Menu

The standard Eclipse Navigate menu has the following items added by SlickEdit Core.

Navigate Menu Item

Description

Command

Go to Line

Places the cursor on a line you specify. See Navigating to a Specific Line.

gui_goto_line

Go to Offset

Places the cursor on a byte/character offset in the current file. See Navigating to an Offset.

gui_seek

Go to Matching Parenthesis

Finds the matching parenthesis or begin/end structure pair. See Begin/End Structure Matching.

find_matching_paren

Go to Definition

Pushes a bookmark at the cursor and navigates to the definition of the current symbol. See Symbol Navigation.

gui_push_tag

Go to Reference

Searches for references to the symbol under the cursor. See Symbol Navigation.

push_ref

Navigate Dialogs and Views

This section describes the dialogs that are associated with entries on the Navigate menu.

Select Symbol Dialog

The Select Symbol dialog is automatically displayed when you use the Go to Definition feature (by pressing Ctrl+Dot, clicking Navigate → Go to Definition from the main menu, or using the push_tag command), when multiple code locations match the selected symbol. See Symbol Navigation for more information about this feature.

The dialog displays all tagged instances of the symbol in your project, including definitions and declarations. The name of the symbol and the file path and line number are shown.

To go to a symbol, select it and click OK or double-click on it. Like other selection dialogs, you can also start to type the name of the symbol and as you type, SlickEdit Core auto-selects the matched item in the list.

The options on this dialog set the behavior of Go to Definition going forward. The first three options match the Go to Definition options found at Window → SlickEdit Preferences → Languages → [Language Category] → [Language] → Context Tagging (see Language-Specific Context Tagging® Options). When you make a setting on the Select Symbol dialog, the settings on the Options dialog are updated to match, and this dialog does not appear again unless there is more than one unique definition or declaration.

When the option Do not show these options again is selected, the Select Symbol dialog does not show these options when/if it is displayed in the future. This option is automatically checked when you select one of the Prioritize navigation to... options.

To reset the default behavior so this dialog with options appears again when applicable, go to the language-specific Go to Definition options and uncheck both of the Prioritize navigation to... options.

The item selected in the Select Symbol dialog will be shown in the Preview view. If you wish to scroll the previewed text use the following keyboard shortcuts.

  • Ctrl+Down -- Scroll down one line.

  • Ctrl+Up -- Scroll up one line.

  • Ctrl+Page Down -- Scroll down one page.

  • Ctrl+Page Up -- Scroll down one page.