You can mark a location in your code with a bookmark and jump directly to it from anywhere in the file. You can set up to ten bookmarks. Bookmarks are preserved when you save the file and available when you reopen the file in the Code Editor.
To set a bookmark
- In the Code Editor, right-click the line of code where you want to set a bookmark. The Code Editor context menu is displayed.
- Choose Toggle BookmarksBookmark n, where n is a number from 0 to 9. A bookmark icon is displayed in the left gutter of the Code Editor.
Tip: To set a bookmark using the shortcut keys, press CTRL+SHIFT
and a number from 0 to 9.
To jump to a bookmark
- In the Code Editor, right-click to display the context menu.
- Choose GoTo BookmarksBookmark n, where n is a number from 0 to 9.
Tip: To jump to a bookmark using the shortcut keys, press CTRL
and the number of the bookmark. For example,
CTRL+1 will jump you to the line of code set at bookmark 1.
To remove a bookmark
- In the Code Editor, right-click to display the context menu.
- Choose Toggle BookmarksBookmark n, where n is the number of the bookmark you want to remove. The bookmark icon is removed from the left gutter of the Code Editor.
Tip: To remove all bookmarks from a file, choose Clear Bookmarks
.