microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.78k stars 29.48k forks source link

Commit Diff or Combined Diff does not indicate if file was added, changed or deleted #232948

Open ADTC opened 3 weeks ago

ADTC commented 3 weeks ago

The combined diff view doesn't indicated whether the file was added, changed, deleted, moved, renamed etc. All files look the same especially when collapsed. It doesn't show the change ratio or +/- character count either. I hope we can bring in the basic features of GitHub diff into VS Code diff as a reference.

lszomoru commented 3 weeks ago

@hediet, is there anything that I could do in order to enable file decorations in the multi-file diff editor? Thanks!

ADTC commented 3 weeks ago

For this, I noticed that renames are shown in Staged Changes with the R symbol.

So this could be expanded with more symbols:

Symbol colors would be nice: Green A, Yellow R, Red D, Blue P, neutral for changed file. Also a nice tinting of the entire row with the same color as the symbol, and a strike-through on the file name for deleted files.