microsoft / vscode-docker

Docker Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
Other
1.21k stars 515 forks source link

The registries are not listed in alphabetical order #4082

Closed v-ruizh closed 1 year ago

v-ruizh commented 1 year ago

OS: Win 10 Build Version: 20230922.1 Regression: Previous Release

Repro Steps:

  1. Connect all registries (Azure/Docker Hub/GitHub/Generic Registry V2) in REGISTRIES view.
  2. Check whether the registries are listed in alphabetical order or not.

Expect: The registries are listed in alphabetical order.

Actual: The registries are not listed in alphabetical order. image

More Info: This issue does not reproduce on the current released Docker extension v1.26.1.

alexyaang commented 1 year ago

I feel indifferent about this but it should be an easy fix if we decide to do this. What are your thoughts? @bwateratmsft

bwateratmsft commented 1 year ago

Easy fix, let's do it.

bwateratmsft commented 1 year ago

I'd suggest doing it in URTDP.getChildren so that everything is alphabetized at each level

alexyaang commented 1 year ago

yeah sounds good