Azure / Azure/bicep

First autocomplete result for `virtualnetwork`

Open
#8,983 2 comments 0 reactions 0 assignees View on GitHub
enhancement Needs: Upvote
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

**Bicep version**
VSCode 0.12.40

**Describe the bug**
If you start typing `virtualNetwork` as a resource type, the top option is for something related to System Centre, when I'd expect it to be `Microsoft.Network/virtualNetworks`

**To Reproduce**
Type the following and look at the auto complete options
```bicep
resource vnet virtualnet
```
![image](https://user-images.githubusercontent.com/289860/201328115-1d9f809c-22bb-4db7-8c53-8f177de59a9f.png)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Reproduce the autocomplete behavior in VSCode using `resource vnet virtualnet` and compare the listed resource types. Trace the autocomplete entry point that ranks resource-type suggestions; done means `Microsoft.Network/virtualNetworks` appears before the unrelated System Centre result.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.