Navigation
There are two types of navigation in SlickEdit
®
Core:
Code Navigation
, which provides in-depth symbol
navigation and structure matching, and
Cursor Navigation
, which pertains to more simple movements
within text and files.
Code Navigation
Some of the most powerful features in SlickEdit
®
Core are its code navigation methods, particularly
Sym-
bol Navigation
. These features allow you to navigate your code the way you think about it, rather than just
as a set of files. If you aren’t using the code navigation features in SlickEdit
®
Core, then you aren’t getting
the most out of the editor.
Symbol Navigation
Symbol Navigation allows you to jump from a symbol to its definition or to a reference with a single key-
stroke. A pushed bookmark is set, allowing you to return to the symbol with another keystroke. You can
chain a series of these navigation operations together, creating a stack of locations. Then pop your way
back to the starting location.
To navigate between symbols use the following operations:
•
Go to Definition
- To quickly move the cursor from a symbol to its definition, pushing a bookmark in
the process, press
Ctrl
+
Dot
. Alternatively, click
Navigate
→
Go to Definition
or use the
push_tag
command.
•
Go to Reference
- To create a list of references and optionally jump to the first one, pushing a book-
mark in the process, press
Ctrl
+
/
. Alternatively, click
Navigate
→
Go to Reference
or use the
push_ref
command.
•
Pop Bookmark
- To pop the bookmark and return to the previous location, press
Ctrl
+
Comma
. Altern-
atively, click
Search
→
Pop Bookmark
or use the
pop_bookmark
command. See
Pushed Bookmarks
for more information about working with bookmarks.
When you first call these operations, if a tag file does not exist for the current file, it will be built (see
Build-
ing Tag Files
).
Tip
•
Procs and prototypes
- In C and C++, navigating from a symbol to its definition will prompt
you to select whether you want to go to the prototype or the function. You can tell SlickEdit
®
Core to always go to one or the other by setting one of the options
Go to Definition navigates
to symbol definition (proc)
or
Go to Definition navigates to symbol declaration (proto)
.
To set these options, click
Window
→
Preferences
, expand
SlickEdit
and click
General
in the
tree, then double-click the
File Extension Setup
setting. On the Extension Options dialog, se-
lect the extension you want to affect from the
Extension
drop-down list, then select the
Context
Code Navigation
76
Summary of Contents for Corev3.3 for Eclipse
Page 1: ...Think Slick Corev3 3 for Eclipse...
Page 2: ......
Page 3: ...SlickEdit Core v3 3 for Eclipse...
Page 5: ......
Page 6: ......
Page 14: ...xii...
Page 20: ...xviii...
Page 22: ...xx...
Page 23: ...Chapter 1 Introduction 1...
Page 41: ...Chapter 3 User Interface 19...
Page 61: ...Chapter 4 User Preferences 39...
Page 80: ...BODY BODY HTML HTMLEOF Restoring Settings on Startup 58...
Page 82: ...60...
Page 83: ...Chapter 5 Context Tagging 61...
Page 97: ...Chapter 6 Editing Features 75...
Page 124: ...Code Templates 102...
Page 238: ...Figure 6 49 Test Parsing Configuration Example 1 C Refactoring 216...
Page 241: ...Figure 6 51 Test Parsing Configuration Example 3 Reviewing Refactoring Changes 219...
Page 250: ...228...
Page 251: ...Chapter 7 Language Specific Editing 229...
Page 328: ...306...
Page 329: ...Chapter 8 Tools and Utilities 307...
Page 350: ...328...
Page 351: ...Chapter 9 Macros and Macro Programming 329...
Page 360: ...338...
Page 361: ...Chapter 10 SlickEdit Core Dialogs 339...
Page 375: ...Find and Replace View 353...
Page 491: ...Chapter 11 Appendix 469...
Page 567: ......
Page 568: ......