Reputation: 1141
I use VS Code and "git lense", "git history", "git graph" extensions. I made a lot of changes in a lot of files, and I can't see a way, using any of those extensions, to display all my changes in just one window.
I know I can click on a single file (when diffing
with a chosen branch), but how to see the diff
on all of them? Am I missing something, or maybe there is some other extension which can do that?
Upvotes: 0
Views: 177
Reputation: 51780
One not entirely satisfying answer is : run from the integrated terminal :
# the '[space][dash]' after 'code' is relevant :
# it tells vscode to write content received on stdin in a tmp file,
# and open that file
git diff | code -
The outpt will be opened as a .txt
file, you can additionally change the syntax highlighter to "diff" mode :
Change language mode
from the command palette (Ctrl+K M
on linux)Diff
Upvotes: 1