Skip to content

File linking issue with VS Code #1749

Answered by BurntSushi
geowa4 asked this question in Q&A
Discussion options

You must be logged in to vote

Hovering over the file name links all the way through FROM, which doesn't work. Is there a way to add a space or something after Dockerfile:1:1? Maybe I could change the : via an option I couldn't find?

No, sorry. This has been asked many times on the issue tracker. AFAIK, some programs handle this just fine, but some don't. The ones that don't should fix their cmd+click implementation.

Is there an option to always lead with a ./ especially if the files are in the current directory?

Yes. Use rg foo ./ instead of rg foo. :-)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@geowa4
Comment options

Answer selected by geowa4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants