You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a php file I have
//LINK docs/Readme.md#my_anchor
in Readme.md I have a line with
But when I click this link, VS code throws an error: unable to open '' File is a directory
If I remove the anchor from the link ie. //LINK docs/Readme.md it works as expected. It opens the file. Is there something I am missing? I am wanting to use this feature to link code to relevant anchors in the documentation. Thanks for your help.
The text was updated successfully, but these errors were encountered:
I setup a file structure to try and replicate the issue but in my testing, it appears to work as intended. Could it be that you did not define the id correctly? Here is how I set it up on my end:
and, just to show the link working correctly:
Hopefully this helps! If you still aren't able to get it to work please provide some more information (screenshots would be great!) and I'll look into this further.
@ricky9075, did you create proper anchor in your Readme.md exactly as: // ANCHOR[id=my_anchor]?
Maybe you are thinking that extension can pick markdown headlines, but it can't
Thanks for this extension.
In a php file I have
//LINK docs/Readme.md#my_anchor
in Readme.md I have a line with
But when I click this link, VS code throws an error: unable to open '' File is a directory
If I remove the anchor from the link ie. //LINK docs/Readme.md it works as expected. It opens the file. Is there something I am missing? I am wanting to use this feature to link code to relevant anchors in the documentation. Thanks for your help.
The text was updated successfully, but these errors were encountered: