Azure / Azure/bicep

Need Intellisense for templatespec references

Open
#14,102 1 comment 1 reaction 0 assignees View on GitHub
devdiv enhancement Needs: Upvote story: registry
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

I have added 2 module aliases in bicep.config like shown below:

``` "moduleAliases": {
"ts": {
"specs": {
"subscription": "subscriptionid-prd",
"resourceGroup": "rg-templatespecs-prd-001"
},
"specs-nonprd": {
""subscription": "subscriptionid-non",
"resourceGroup": "rg-templatespecs-nonprd-001"
}
}
}
```

The resourcegroup for alias specs-nonprd contains 3 templatespecs:

image

The intelissense is working for the alias part see below:
![image](https://github.com/microsoft/vscode-azurearmtools/assets/3228810/f170bf39-fea8-42b3-805a-3bb2d5305ba4)

However if the alias is entered intellissense does not work for the 3 templatespecs nor for their versions:

image

Is this by design or a known issue?

Expected behavior would be similar as with Azure resources:

image

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. Start by reproducing completion for template spec references configured through the module aliases, then trace the existing alias completion entry point. Done means suggestions include the three template specs and their versions after entering the alias.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.