Adding bookmarks, using and removing them
Bookmarks are an easy method to go to often needed code within the ST-editor.
How to create a bookmark in the ST-editor:
-
Go to the line for which you want to create a bookmark.
-
In menu Edit or from the context menu of the border left of the code, select Add Bookmark...
-
In the dialog, enter the description for the bookmark and click OK.
Result: The bookmark icon appears in the border left of the code. Moreover the bookmark is added in view Bookmarks.
How to go to the code in the ST-editor for that a bookmark has been created:
-
Go to view Bookmarks.
-
Double-click the appropriate bookmark or select Go to from the context menu of the bookmark.
Result: The object opens within the editor and the line containing the bookmark is selected to easily spot it.
How to remove a created bookmark in the ST-editor:
-
Go to the line containing the bookmark.
-
From the context menu of the border left of the code, select Remove Bookmark.
Result: The bookmark icon disappears from the border left of the code. Moreover the bookmark is removed from view Bookmarks.
See "Bookmarks view for navigation" for more possibilities with bookmarks.