tintinweb / vscode-inline-bookmarks

Customizable inline Bookmarks for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-inline-bookmarks
GNU General Public License v3.0
45 stars 14 forks source link

Feature: Jump to Next/Prev Bookmark based on cursor position #40

Closed rkodey closed 3 years ago

rkodey commented 3 years ago

Your extensions has a really great combination of bookmarking and todo lists into a simple view. In particular, this extension is the only one I've found that also combines both follow-mode and the ability to Jump around the document based on bookmarks. Thanks!!

Here's my proposal for a new feature (and a pull request):

It's a subtle change, but a crucial one when paired with using Keyboard shortcuts for Next/Prev. Wherever the cursor is

Last, I considered coding it as a 3rd follow-mode, but I think it's not really a follow mode. I've added this feature as a new boolean optional toggle. It works with both "nearest" and "chapter" modes, and also work when follow mode is disabled.