Skip to content

Git - detecting filepath+line link in console diff not working for all formats #296010

@Wiktorro

Description

@Wiktorro

Hello All,
As dev working with large changes, I noticed how VSCODE TERMINAL provides nice linking for displayed file diff within terminal, formatted as @@ -+line, column@@ - it's extremely helpful to jumping to file where edition occurred.
However I also noticed there's a drawback - it does not provide any for column-less format - one that sometimes appears, as I noted more often on smaller view on unchanged context (here param --unified=0), but I think it happens also in other cases. INB4 Having less context is useful when reading large changes and focusing on these only.

Can you please extend the linking for that format as well?
It will make working with such diff (as allowing always to jump to modified areas ) EXTREMELY HELPFUL. If you didn't know this, you will start to use by yourselves immediately ;)

See for comparison how the link is generated under mouse cursor by VSCODE console when column provided after comma, with underlying the text part and opening small msg 'open file....' - but not otherwise.

Best regards and feel free to contact me, Wiktor

working :
Image

....and not....

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions