bicep icon indicating copy to clipboard operation
bicep copied to clipboard

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

Open coolhome opened this issue 2 years ago • 4 comments

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

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

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?

coolhome avatar Jun 27 '22 00:06 coolhome

+1 on this. There should be some way that these boxes can have size depending on the content. Many of us work on wide monitors so shouldn't be a problem if the boxes are extended depending on the results.

slavizh avatar Jun 27 '22 07:06 slavizh

@StephenWeatherford do you happen to know if the size of the completion box is something we have control over in VSCode?

anthony-c-martin avatar Jun 27 '22 10:06 anthony-c-martin

Would be nice if we can hide the sections that have already been completed

alex-frankel avatar Jun 29 '22 19:06 alex-frankel

@anthony-c-martin Appears to be no way to programmatically resize, but as noted, users can resize it using the mouse now (see https://stackoverflow.com/questions/64491930/is-there-a-way-to-resize-the-autocomplete-widget-in-visual-studio-code/64492059#64492059).

I think Alex's suggestion of hiding the sections already completed may be possible to implement.

StephenWeatherford avatar Oct 01 '22 01:10 StephenWeatherford