Removing a folder from multi-root workspace does not remove repo
See original GitHub issueVersion: 1.50.1 (user setup) Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a Date: 2020-10-13T15:06:15.712Z Electron: 9.2.1 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Windows_NT x64 10.0.19041
Steps to Reproduce:
-
Create a multi-root workspace:
- folder_A contains git-repo A
- folder_B contains git-repo B
SCM pane shows repo A and repo B
-
Remove folder_B from workspace
SCM pane still shows repo B (expected: repo B is automatically closed/removed)
-
Select “close repo” on repo B
repo B vanishes from SCM pane
-
reopen workspace
SCM pane again shows repo B (expected: repo B does no longer show up)
Workaround: Delete workspace settings under C:\Users\<username>\AppData\Roaming\Code\User\workspaceStorage
.
Does this issue occur when all extensions are disabled?: Yes/No
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Remove a Repository From a VSCode Multi-Root Workspace
Removing a folder from a multi-root workspace does not remove the associated git repo from SCM view. I've reported this already as an...
Read more >Multi-root Workspaces in Visual Studio Code
Removing folders. You can remove a folder from a Workspace with the Remove Folder from Workspace context menu command. Workspace file. When you...
Read more >VS Code multi-root workspace with one top level git repo
The idea is to sparsely checkout the repo with: the .gitignore and any other file you need; only the func-x folder you want....
Read more >Use repositories instead of workspace folders (#345) - GitLab
The problem with this approach is that the workspaceFolder doesn't have 1:1 relationship with repository. You can open the VS Code in any ......
Read more >Setting up your workspace
Starting with Go 1.18, Go workspaces are the preferred solution. ... For example, suppose this repo is checked out into the $WORK/tools directory....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can I work on this issue? I am participant of opensourceday2021.
I am experiencing this bug; I’m not quite sure what sequence of actions got me here.
Even after right clicking the repo in source control and clicking “Close Repository”, the repository is reopened the next time I open the workspace.