In WebStorm (and also Eclipse, Netbeans), when clicking on the git diff indicators in the gutter, a contextual menu shows the previous content, and provides a button to quickly revert the block modifications.
Visual Studio Code also provides added/modified/deleted blocks gutter indicators, this way:
But I didn't find how to quickly see the corresponding diff. I can't believe there's no quick way to see what the gutter indicators refer to.
Did I miss something? Is it an upcoming feature? Or would someone know about an extension that would add that behavior?
It's here!
It appeared in Visual Studio Code 1.18!
They call it Source Control Inline change review. By the way, they also added coloration over the modified files in the file explorer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With