StarlaneStudios / vscode-comment-anchors

⚓A Visual Studio Code extension that adds support for comment anchors 🔭
https://marketplace.visualstudio.com/items?itemName=ExodiusStudios.comment-anchors
MIT License
205 stars 32 forks source link

Cannot open links #212

Open FuriousLlama opened 9 months ago

FuriousLlama commented 9 months ago

I tried different ways to link to a file but I don't see the highlighted text when hovering over a LINK path. I've tried disabling all other extensions but that did not help.

Notice how a regular URL does have the expected underline while the other links do not.

image

Challanger524 commented 6 months ago

Same thing with filepaths without :<num> and #<anchor> at the end, only workaround is to append :0 or :1 to the filepath like: // LINK readme.md:0

caiobolzani commented 6 months ago

First, enable links in the editor, so any http regular link will be clickable... then I used the following syntax (Windows OS): // LINK \Users\MyName\Desktop\file.txt and it becomes clickable also (no C:, no double backslash) hope it helps