alefragnani / vscode-project-manager

Project Manager Extension for Visual Studio Code
GNU General Public License v3.0
1.93k stars 224 forks source link

[BUG] - Change project will make built-in git support ineffective partially #643

Closed MoyuScript closed 2 years ago

MoyuScript commented 2 years ago

Environment/version

Steps to reproduce

  1. Create two new projects named 'project-a' and 'project-b', then run git init on both projects.
  2. Open 'project-a' via code ./project-a.
  3. Make some changes and run git add . and git commit -m "1".
  4. Make some changes again and we can see that built-in git support is working as expectation (the 'M' icon appear in explorer and the blue bar aside the line number in editor).
iShot_2022-08-30_10 30 52
  1. Open 'project-b' via Project Manager then open 'project-a' via Project Manager again, we can see that built-in git support becomes not working (the 'M' icon is disappeared also the blue bar aside the line number).
iShot_2022-08-30_10 32 48

By disable Project Manager and restart VSCode, the 'M' icon and blue bar will back again.

By the way, I have disabled all extensions except Project Manager.