Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.23k stars 748 forks source link

VSCode Extension intellisense sorts module versions in strange order #15327

Open Tapanila opened 1 week ago

Tapanila commented 1 week ago

Bicep version v0.30.23

Describe the bug When referencing a module that has a lot of versions. The versions are in strange order. I expected the latest version (in this case 0.10.0) to be on the top

Image

To Reproduce Steps to reproduce the behavior:

  1. Create new bicep file
  2. add following content: module vault 'br/public:avm/res/key-vault/vault:' = { }
  3. Trigger intellisense to suggest right version
StephenWeatherford commented 1 day ago

I think the assumption is that AVM gives us the correct order in their metadata. Sounds like we should just sort them ourselves.