VS Code Source Control Pane is Blank

Viewed 7632

I've reinstalled my PC and tried connecting back up to my Azure DevOps Repo using VS Code and TFVC. I'm using TFVC Location with Visual Studio 2019 Community TF.exe. It all seems to work and I can connect to my repo with my credentials. It all seems to load up fine and I can even see TFVC with a number of changes/differences. - see image below. However I'm expecting to see my source control and list of files to commit like before. But the panel is blank. There's no errors in the Output window of VS Code either.

I've tried removing and re-adding the workspace. Tried editing/adding anew file to the project in hope of kickstarting TFVC pane to show the file list. - the number next to TFVC updates but I don't see any menu button or files list.

Has anyone else had this and know a solution, or know where I'm going wrong.

vscode tfvc

6 Answers

Just toggle "scm.alwaysShowProviders" on and off from whatever value your have (default is false), this would cause the source control pane to redraw and fix the issue for now.

I believe per the issues in GitHub that this issue is fixed for most people as of VSCode version 1.39.2, but I was still seeing it for projects based on a Git repo.

After some trial and error I found this setting was the culprit: "scm.alwaysShowProviders": true

When I remove that setting, or set it to false, my Source Control pane works correctly.

This happens to me occasionally. I just figured out I can fix this by right clicking in the blank area and then selecting the repository I want to show up

Clicking the blank area and slecting repo does the trick

I had this problem on the 1.55 version, as it's centrally controlled I couldn't manually update, but when they pushed the 1.64 version through, the problem has gone away, was driving me mad!

Related