Azure / Azure/bicep

VSCode Extension - Long Resource Names + IntelliSense = Hard to navigate sometimes

Open
#7,364 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 21m
Merged PRs (30d)
79

Description

Most of the IntelliSense suggestions that I've been using can usually be navigated with ease. For example `Microsoft.Web/` is relatively small and contains several child resources:
![image](https://user-images.githubusercontent.com/700740/175838942-0b540623-1ff8-421a-9bda-ae06a9ae13aa.png)

However with something as long as `Microsoft.OperationalInsights/workspaces` its hard to figure out what each entry actually is. Even the right portion of the popup is cut off.
![image](https://user-images.githubusercontent.com/700740/175839240-9e11bb03-e757-459e-a5d3-91e40ba1e29d.png)

## Possible Solution
### More descriptive context
Given the right portion of the popup renders `Provider / Resource / Child Resource / Child Resource @ Version` maybe we can parse it into smaller chunks:

> **Type**: `Microsoft.OperationalInsights/workspaces/linkedStorageAccounts`
> **Provider**: `Microsoft.OperationalInsights`
> **Resource**: `workspaces/linkedStorageAccounts`

or

> **Provider**: `Microsoft.OperationalInsights`
> **Type**: `workspaces/linkedStorageAccounts`

----
**UPDATE**
After researching I learned that VSCode does have the ability to resize these windows using the mouse. I still think that maybe rendering more information in the VSCode plugin could be beneficial?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the long-resource-name IntelliSense popup in the VS Code extension, especially for Microsoft.OperationalInsights/workspaces/linkedStorageAccounts. Review the proposed provider and resource/type presentations, then define a concise rendering that keeps the full context visible and verify it against both short and long resource names.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.