bicep icon indicating copy to clipboard operation
bicep copied to clipboard

VSCode Extension intellisense sorts module versions in strange order

Open Tapanila opened this issue 1 year ago • 1 comments

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

Tapanila avatar Oct 15 '24 09:10 Tapanila

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

StephenWeatherford avatar Oct 21 '24 16:10 StephenWeatherford

Duplicate of #14530. I'm working on improving this now.

shenglol avatar Oct 24 '24 21:10 shenglol