fabiospampinato / vscode-diff

Diff 2 opened files with ease. Because running `code --diff path1 path2` is too slow.
MIT License
40 stars 9 forks source link

Open target file with relative file path from source file #19

Closed xxrlzzz closed 7 months ago

xxrlzzz commented 2 years ago

As diff always from current file and some other file, is will be very useful if I can to locate file from a relative path.

fabiospampinato commented 7 months ago

There's a setting for this in v2.1, if you set diff.showFoundRelativeFiles then relative versions of paths, that start with either ./ or ../, will be visible in the selector. The other paths can be disabled with a setting "diff.showFoundFiles": false