Using v0.18.2
My current setup is:
--hyperlinks-file-link-format="vscode://file{path}:{line}"
However, when clicking on file links at the top of the diff output (rather than than hunk links), there is no line number, so the link is rendered as:
vscode://file/Users/zx8/example/foo.tf:
And when I click on it, I get a No file or directory error, because the trailing : is treated as part of the path.
If this were rendered as 0 when there is no line number, I think the links would work as expected.
Using v0.18.2
My current setup is:
However, when clicking on file links at the top of the diff output (rather than than hunk links), there is no line number, so the link is rendered as:
And when I click on it, I get a
No file or directoryerror, because the trailing:is treated as part of the path.If this were rendered as
0when there is no line number, I think the links would work as expected.