Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code: Git diff over git gutter indicator

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.

WebStorm git diff

Visual Studio Code also provides added/modified/deleted blocks gutter indicators, this way:

VSCode git diff

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?

like image 422
arvymetal Avatar asked Apr 05 '17 16:04

arvymetal


1 Answers

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.

Source Control Inline change review

like image 117
arvymetal Avatar answered Oct 31 '22 11:10

arvymetal