microsoft/compose-language-service

Use Intellisense to cut down on service attribute suggestion list

ucheNkadiCode opened this issue · 1 comments

Rather than having multiple duplicate selections when a user presses ctrl + space eg, port short version, port long, build short, build long, command for echo or command for [echo, hello], I think it would be great to only give the user just one suggestion of that attribute then we put their cursor at a place where the next hit of Space, will bring up the suggestions available, then they can easily scroll through it.

I'd love most of the behavior to be coalesced into the example below.

User sees just one suggestion for volumes
image

Instead of giving them this:
image

We instead start their cursor right next to the dash
image

And then hitting space button does this automaticaly in VS Code
image

Adding this for most if not all of the duplicate selections will help cut down on confusion navigating through the tree of possible completions, and provide the user a better in-line authoring experience.

Right now we have quite a few duplicates in the selection and I can see this list growing over time
image

I'm not sure I understand what you're asking for. For example, I think it's necessary to show them both options for build. Otherwise how would we know whether to send them to the next line (long form), or not (short form)?

I'd rather just show them what's available up front.

Or is this just about volumes/ports with the dash+space thing?