microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.36k stars 28.92k forks source link

Input box completion support #35785

Open jtanx opened 7 years ago

jtanx commented 7 years ago

I'm not sure if I'm searching for the right terms, but there doesn't seem to be a way to get an extension to show an input box with completion entries, similar to the 'Show all commands' dropdown, or the 'Go to symbol in workspace' dropdown:

image

The closest that I can get is to use showInputBox with a validateInput input validator, but this only allows you to return one entry, which doesn't work well if there's multiple options that could be possible. There's also the quick picker, but as far as I know, it doesn't allow you to dynamically update the available options depending on what has been typed in.

Is it possible to expose a similar sort of functionality in the vscode API?

matklad commented 5 years ago

Another (arguably more powerful) UI would be completion for particular words in the input box. Here's an example from IntelliJ, which completes comand flags:

image

vscodebot[bot] commented 4 years ago
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle). Happy Coding!
vscodebot[bot] commented 4 years ago
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle). Happy Coding
vscodebot[bot] commented 4 years ago
:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle). Happy Coding!