Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.25k stars 753 forks source link

Need Intellisense for templatespec references #14102

Open neok-g opened 5 months ago

neok-g commented 5 months ago

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
StephenWeatherford commented 5 months ago

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