Bookmarks
Bookmarks are used to save the current edit location, so you can quickly return to it later. There are two
types of bookmarks:
•
Named Bookmarks
- Used to mark long-term, meaningful locations in the code, or to quickly set a tem-
porary, named bookmark on the current line.
•
Pushed Bookmarks
- Used to set temporary "breadcrumbs" as you explore the code.
Named Bookmarks
There are various ways to use named bookmarks:
•
Give them a specific name
- This is the best way to mark long-term, meaningful locations in the code.
For example, you could set a bookmark named "main" to save the location of the
main
function.
•
Allow automatic naming
- This is the quickest way to set temporary, named bookmarks if you don’t
care to spend the time naming them yourself.
•
Use a key binding shortcut for the name
- Bookmarks can be named according to a specific key
binding. For example, you could bind
Ctrl
+
1
so that it instantly sets a bookmark named "1".
Bookmarks can be set through a variety of methods, depending on which way you want to use them. A
green
Bookmark
bitmap, displayed in the left margin of the editor window, indicates a set bookmark.
Naming Bookmarks
To set a bookmark on the current line and give it a name, click
Search
→
Set Bookmark
(
set_bookmark
command). The Bookmarks dialog is displayed. Type the name of the bookmark in the combo box, then
click
Add
.
Command Line Shortcut - sb
Power programmers may prefer to use the
sb
command, which is a shortcut for
set_bookmark
. You can
append
sb
or
set_bookmark
with any character or text string, and the bookmark will be instantly set us-
ing the value for the name. For example,
sb 1
will allow you to create an instant bookmark named "1",
and
sb main
will let you create an instant bookmark named "main". See also
Command Line Shortcut -
gb
.
Allowing Automatic Naming
If you want to quickly set a named bookmark, and you would prefer the editor to automatically name them
for you, press
Ctrl
+
Shift
+
J
, or click
Search
→
Toggle Bookmark
(
toggle_bookmark
command). This
command also instantly toggles the new named bookmark on/off.
When a bookmark is set in this manner, the name is automatically generated and appears in the Eclipse
Bookmarks view in one of two formats:
SymbolName
:
LineNumber
, or
FileName
:
LineNumber
. The symbol
Named Bookmarks
172
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: ......