VSBookmarks gives something like the fantastic Delphi
bookmarks feature. Tested and works in Visual Studio 2019.
- Extensions > Search "VSBookmarks" (v1.7 at time of writing)
- Install and restart Visual Studio
- Use Ctrl + Shift + N to set a bookmark
- Use Ctrl + N to move to a previous bookmark
There will likely be conflicts with existing keyboard shortcuts. To view and edit these:
- Tools > Options > Environment > Keyboard
- In "Press shortcut keys" type Ctrl + Shift + 1
- See which command(s) are currently assigned to the shortcut
- Find the command in the list and remove the shortcut
- Repeat for Ctrl + Shift + 1 through Ctrl + 9
VSBookmarks applies only within the current file (which is the Delphi behaviour), but is not configurable with just a single colour for the bookmark.
Delphi is an awesome language and editor. Thanks to Sergey Vinyar and Alessandro Fragnani (for the Numbered Bookmarks extension in Visual Studio Code) for keeping the flame alive.