Open datenreisender opened 8 years ago
I've tried to prototype this but its not very convenient: vscode does not seem to have 'combo' box yet, its either lets you enter freeform input or pick from a list but not both. One way to work it around is to always show fake first history entry a la 'Enter your command here' but then user would need to pick it and proceed with entering command..not cool
depends on this bug
My PR https://github.com/yhirose/vscode-filtertext/pull/4 has the 'save the last used command' as a quick hack until history might be added.
Any developments on this?
@iAbadia, if the comment by @boguscoder is still correct (vscode does not seem to have 'combo' box yet), it seems not easy to make satisfying UI. But if vscode support 'combo box', we can start implementing this feature.
I don't know enough about VS code development to know what you mean by a combo box but, wouldn't be the input box that appears when you search (F1) for commands or the "recently opened" (Cntrl+P on Windows) enough for a history of commands?
I guess the question now is: Is that kind of UI feature available for Extensions?
@iAbadia, we are not talking about the combobox you mentioned, but the 'combobox-like' widget which can be used in VS Code extension development. showInputBox
(input box) and showQuickPick
(list box) are available in the extension APIs. But there is no 'showInputBoxAndQuickPic`.
I feel many VS code extension developers want the API though...
Have you tried asking how this might be possible on the VS Code developers slack?
It would be helpful to have a history of the previous used commands. Even better if the latest command was showed as the default.