VS Code Disable 'Working Tree' Git Preview Window
VS Code’s built in source control support is fantastic. However, the working tree preview feature annoys me. When you click on a file, from the source control sidebar, you’ll see a diff preview like this:
This slows me down because I use the source control sidebar for navigation. I like to jump to edited files and tidy them up before committing to GitHub.
You can disable this feature by searching for openDiffOnClick
in settings and un-checking it:
With openDiffOnClick
disabled you’ll jump straight to files for editing. Just like you would when navigating via the file explorer.
Subscribe to get articles like this in your inbox, every week.
You'll get my latest blog posts as well as article, book and podcast recommendations. All about tech.