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
Содержание Corev3.3 for Eclipse
Страница 1: ...Think Slick Corev3 3 for Eclipse...
Страница 2: ......
Страница 3: ...SlickEdit Core v3 3 for Eclipse...
Страница 5: ......
Страница 6: ......
Страница 14: ...xii...
Страница 20: ...xviii...
Страница 22: ...xx...
Страница 23: ...Chapter 1 Introduction 1...
Страница 41: ...Chapter 3 User Interface 19...
Страница 61: ...Chapter 4 User Preferences 39...
Страница 80: ...BODY BODY HTML HTMLEOF Restoring Settings on Startup 58...
Страница 82: ...60...
Страница 83: ...Chapter 5 Context Tagging 61...
Страница 97: ...Chapter 6 Editing Features 75...
Страница 124: ...Code Templates 102...
Страница 187: ...The finished code is shown as follows Figure 6 24 Dynamic Surround Example 4 Dynamic Surround 165...
Страница 238: ...Figure 6 49 Test Parsing Configuration Example 1 C Refactoring 216...
Страница 240: ...Finally the following example shows a test resulting in no errors or warnings C Refactoring 218...
Страница 241: ...Figure 6 51 Test Parsing Configuration Example 3 Reviewing Refactoring Changes 219...
Страница 250: ...228...
Страница 251: ...Chapter 7 Language Specific Editing 229...
Страница 275: ...Java Refactoring See Java Refactoring for information about Java refactoring in SlickEdit Core Java Refactoring 253...
Страница 328: ...306...
Страница 329: ...Chapter 8 Tools and Utilities 307...
Страница 334: ...6 Click Save The Save Multi File Output dialog box opens Figure 8 3 Save Multi File Output Dialog DIFFzilla 312...
Страница 350: ...328...
Страница 351: ...Chapter 9 Macros and Macro Programming 329...
Страница 360: ...338...
Страница 361: ...Chapter 10 SlickEdit Core Dialogs 339...
Страница 375: ...Find and Replace View 353...
Страница 491: ...Chapter 11 Appendix 469...
Страница 567: ......
Страница 568: ......