Using Bookmarks
Go Up to How To Edit Code in the Code Editor
- Note: These bookmarks refer to the Toggle Bookmarks, to see a different type of bookmarks visit Stack Bookmarks.
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 Bookmarks > Bookmark n, where n is a bookmark number, from 0 to 9.
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 Bookmarks > Bookmark 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 Bookmarks > Bookmark 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.