Azure / Azure/bicep

Offering useful parent property completions

Open
#5,149 1 comment 0 reactions 1 assignee Claimed by @TSunny007 View on GitHub
enhancement
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

It would be great to present sensible completions for an empty parent property:
![image](https://user-images.githubusercontent.com/38542602/140568221-7721ab15-70a0-4580-a92d-46c6e9d49394.png)

e.g. here we could show the following list:
* All possible parent candidates (resources of the right type) in the template
* Offer to generate and insert an 'existing' parent for you
* Offer to generate a resource parameter (once #2246 is done)

If we could build this logic for non-snippet cases, then I think snippets would also benefit from it (we could leave it blank with a tab-stop, and pop up the completions).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.