Vscode-bookmarks: Automatically create bookmarks from comments

Created on 16 Jul 2018  Â·  3Comments  Â·  Source: alefragnani/vscode-bookmarks

I don't know if it's feasible... would it be possible to define a custom comment token (like "//BM") so that the line starting with that is automatically bookmarked? That would actually "embed" the bookmark in the code, and add it to the bookmark list on every different editor when working on different machines.

enhancement out-of-scope question

Most helpful comment

Wow @alefragnani thank you for the quick response... I didn't know those extensions, I looked for bookmarks and I should've looked for "ToDo" apps. I managed to tweak ToDo-Tree and Highlighter to do what I needed :smiley:
Maybe this issue can be closed then...

All 3 comments

MARK: - is one standard for comment bookmarks, Xcode even natively supports it. It would be really nice to have functionality inside the bookmarks extension.

Hi @zpaolo11x @liamrosenfeld ,

First of all, thanks for your suggestion.

Its an interesting feature, but I think it goes a bit _out of scope_. Mostly because the extension is based on _user defined positions_ for its bookmarks, and in this case, it should become a _parser based_ approach.

But, don't worry, because there are already some other extensions that does what you suggested. Here are some that I found:

Hope this helps

Wow @alefragnani thank you for the quick response... I didn't know those extensions, I looked for bookmarks and I should've looked for "ToDo" apps. I managed to tweak ToDo-Tree and Highlighter to do what I needed :smiley:
Maybe this issue can be closed then...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LighghtEeloo picture LighghtEeloo  Â·  6Comments

jayarjo picture jayarjo  Â·  6Comments

919Studios picture 919Studios  Â·  4Comments

vannie1 picture vannie1  Â·  3Comments

longv2go picture longv2go  Â·  6Comments