-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quickpick didn't open with 1 item #6050
Comments
The same is true for the Update |
@vince-fugnitto so it is not true? If it is not a regression then it is fine not to fix for 0.10.0
For VS Code extensions APIs should work like in VS Code. In Theia core it can behave differently, maybe we need an option to align the plugin system behaviour with VS Code. We should look at all clients outside of the plugin system and see for them what we want. I won't be surprised that it is different in VS Code as well for VS Code extensions and internal clients. |
I believe the regression comes from the fact that we now call the |
@vince-fugnitto I see, actually it sounds strange now that on show we don't show for a single item, but changing it now we break other clients like git extension. I wonder can we add a flag like |
Sure, the flag should be enough I believe :) |
…item Fixes #6050 - fixes issue where `quick-pick` which were initiated by the plugins was not displayed when it only contains a single item. The fix is to include a new flag `runIfSingle` which is used to determine if the quick-pick should display or execute the item. - The default value for `runIfSingle` is set to `true`. - The `plugin-ext` sets the `runIfSingle` to `false` so it always displays the quick-pick regardless if an single item is present. This behavior is aligned with previous versions of Theia and VSCode. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
…item Fixes #6050 - fixes issue where `quick-pick` which were initiated by the plugins was not displayed when it only contains a single item. The fix is to include a new flag `runIfSingle` which is used to determine if the quick-pick should display or execute the item. - The default value for `runIfSingle` is set to `true`. - The `plugin-ext` sets the `runIfSingle` to `false` so it always displays the quick-pick regardless if an single item is present. This behavior is aligned with previous versions of Theia and VSCode. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
…item Fixes #6050 - fixes issue where `quick-pick` which were initiated by the plugins was not displayed when it only contains a single item. The fix is to include a new flag `runIfSingle` which is used to determine if the quick-pick should display or execute the item. - The default value for `runIfSingle` is set to `true`. - The `plugin-ext` sets the `runIfSingle` to `false` so it always displays the quick-pick regardless if an single item is present. This behavior is aligned with previous versions of Theia and VSCode. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
@vince-fugnitto will it be part of next theia v0.10.0 release ? |
@offer8 yes it's included in last Thursday's release of v0.10.0 |
Description
In the new version of theia ( theiaide/theia-full:next ) when I open quickpick with one item it doesn't show the item.
It works with multi items.
Reproduction Steps
I created vsix from github ( with 1 item)
https://github.com/i053322/quickpickexample
Load the VSIX and press F1 and choose Hello World
OS and Theia version:
master
Diagnostics:
I checked it on version 0.9.0 and it worked.
It it also worked on VS CODE
The text was updated successfully, but these errors were encountered: