15

I am aware that git diff --stat can be used to view the number of added and deleted lines between a commit and an unstaged change, like so:

 src/core.cpp | 31 +++++++++++++++++++++++++------
 1 file changed, 25 insertions(+), 6 deletions(-)

But it is cumbersome to open a terminal and minimize it every time I want to view these metrics. Is there an easy way to view these in the editor, whether built inside VSCode itself or provided by an extension?

2
  • VSCode has an integrated terminal. Press Ctrl + ` to open it. Commented May 25, 2021 at 21:58
  • 4
    @Kraigolas that is what I currently use but I want to keep that window minimized so I get the full vertical space of the editor. It's a productivity thing. Commented May 25, 2021 at 22:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.