-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of repos in the Source Control panel is no longer sorted consistent with the Explorer Panel #146409
Comments
Note that I see this in the release notes... https://code.visualstudio.com/updates/v1_66#_source-control-repositories-view The problem here is that the change was attempting to fix an issue that never existed. It states... "This was problematic as the discovery order can vary and repositories appeared to be in random order." This is simply not true. The order did not appear "random". It was exactly the same as the arrangement of repositories in the Explorer panel, which makes total sense. If I put the primary repo for the project at the top of the explorer panel, it is logical for it to also be at the top of the Source Control panel. If a change like this is made, it should at least have a toggle to allow users to choose to remain with the previous behavior. |
/assign @lszomoru |
Sounds like a duplicate. Some people love to sort things by name (#43527), while others prefer discovery order (#146359). More context (#145886 (comment)):
Besides, I noticed that the work item on the iteration plan (#144519) was called:
|
I see discussion of the order being "discovered", but see no clarity on what "discovered" actually means. To be clear, I am referring to the behavior where Source Control sorting follows Explorer sorting. For example... Version: 1.65.1 The order in Explorer... Is mirrored in Source Control... If the repos are reordered via drag and drop in Explorer... The new order is also picked up by Source Control... This is how it has worked for a long as I have worked with Workspaces, and should at least be preserved as an option if not the kept as the default behavior. |
@robcowart, thank you very much for your feedback. Let me try to provide a little bit more context on repository "discovery". When you open a folder/workspace in VS Code, the If the I am planning on providing more options for sorting, and users will be able to easily restore the sort order that was previously available. I am hoping to have that capability available early next week in Insiders and in the next Stable release. |
@lszomoru thanks for the clarification and sharing your next steps. |
@lszomoru please add the option to sort by name but keep the main repository at the top. I have folder with submodules and it's really annoying now my 'main' repo changes are no longer just at the top but could be anywhere were they would make sense alphabetically. Maybe even sort by full path name as that mimicks repository layout the best I guess? |
@sandercox, yes, sorting by full path is something that is on my list. Will keep the issue updated with my progress. |
Hi, same problem here: I prefer the Regards. |
Please, please get this fixed asap. There was nothing to "fix" in the first place. I have a dozen repo's in my workspace and the two main ones were at the top, now they're somewhere in the middle. This is really, really, annoying. |
Yeah, agree, please fix this asap. Love team! |
Today's Insiders release (2022-04-14), contains two changes related to repository sorting:
|
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.66.0
Commit: e18005f
Date: 2022-03-30T05:50:04.419Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Darwin x64 21.2.0
Steps to Reproduce:
Up until the release above, the order of repos in the Source Control panel was consistent with the order of the Explorer Panel. This made it very easy to move between panels and easily find things. This newly introduced inconsistency slows productivity, especially for Workspaces with many repositories.
Notice the different ordering in the images below.
The text was updated successfully, but these errors were encountered: