I would add this as another node to History, so top node History, and another root level node Bookmarks and rename this tab to Navigation
Delphi method is not too bad but not compatible shortcut wise. VS bookmark shortcuts are just stupid. Resharper method could work.
What about Ctrl ` to add/remove a bookmark. Just add them in order in next available bookmark slot. I think you could get away with 10 else they become ‘non shortcut’ bookmarks.
To go to a book mark…
I would reorganize the existing Ctrl Shift 1/2/3 so you can access the bookmarks by number
Ctrl ` to add/remove (in code editor)
Ctrl Shift ’ to open History/Bookmarks tab and select Bookmarks root node . You can then arrow up/down and enter to go to a bookmark
Ctrl Shift 0 to 9 to go to a specific bookmark (order as per keyboard 1234567890)
The existing Shift 1, 2 etc is a little annoying as it selects the tab but doesn’t focus it… again debatable point but I thing if you are selecting a tab you probably what to select it and enter takes to to the file ( the old selected node vs focus node)
Right click popup menu to manually delete etc
Be nice to show file name , line#, and line of code in bookmark tree node
Highlight in editor bookmark number (or non number if more than 10) in next to gutter (existing space between line number and were code starts)
In VS the bookmark is a specific line number (not line of code) . Debatable choice. I would manage as you do breakpoints.
If you really want to you code add another root node for breakpoints rather than the pop window (Alt Shift B)
1 file1.pas 123 this is some code
2 file1.pas 234 so awesome code here
. file1.pas 345 smelly code
. file2.pas 456 more smelly code
I think this could work nicely