bicep icon indicating copy to clipboard operation
bicep copied to clipboard

Need Intellisense for templatespec references

Open neok-g opened this issue 1 year ago • 1 comments
trafficstars

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

    "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

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

neok-g avatar May 16 '24 10:05 neok-g

We currently have no implementation for template spec completions except for the top-level aliases as author points out.

StephenWeatherford avatar May 16 '24 16:05 StephenWeatherford