bicep
bicep copied to clipboard
VSCode Extension - Long Resource Names + IntelliSense = Hard to navigate sometimes
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:
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.
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?
+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.
@StephenWeatherford do you happen to know if the size of the completion box is something we have control over in VSCode?
Would be nice if we can hide the sections that have already been completed
@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.