IntelliSense completion of "resourceGroup()" should place user after closing parentheses
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 79
Description
Each time a user types in "reso", they are given the suggestion of "resourceGroup". The most common practice that we also recommend is to type in resourceGroup().location as the default parameter for location. Unfortunately, we place the user in the middle of the resourceGroup(__) which can be annoying. I understand resourceGroup() does take an input, but this isn't the most common case.

Suggestion

Contributor guide
Research direction
Start by reproducing IntelliSense completion after typing "reso" and locate the completion entry for resourceGroup. Verify the current cursor placement and update the behavior so the common resourceGroup().location usage places the user after the closing parentheses, while preserving support for an input argument.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100