Skip to content
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

VSCode Extension intellisense sorts module versions in strange order #15327

Open
Tapanila opened this issue Oct 15, 2024 · 1 comment
Open

VSCode Extension intellisense sorts module versions in strange order #15327

Tapanila opened this issue Oct 15, 2024 · 1 comment
Assignees
Milestone

Comments

@Tapanila
Copy link

Tapanila commented Oct 15, 2024

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

4 participants