-
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
[Plugin-API] Apply window.createQuickPick() #5012
Conversation
Hi @vinokurig do you have run https://github.com/Microsoft/vscode/blob/master/extensions/vscode-api-tests/src/singlefolder-tests/quickInput.test.ts against this ? |
Could you please open an issue to list everything what should be implemented? that it does not get lost in the code... or don't declare what is not implemented if it does no cause runtime issues |
Opened related issue for missing functionality: #5059 |
Those are VsCode tests, they will probably fail because we have related issues for not implemented functionality: #5059 |
I'm trying to test with https://github.com/Microsoft/vscode-extension-samples/tree/master/quickinput-sample but plugin host process cannot start for me with this PR:
|
@vinokurig How can I test it? |
@akosyakov Fixed the error, now you can test it with the sample plugin |
this.onDidAcceptEmitter.fire(undefined); | ||
this.onDidChangeSelectionEmitter.fire([item]); | ||
this.onDidHideEmitter.fire(undefined); | ||
this.dispose(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not it be done by a client? Can a client call show
several items on the same instance of quick open?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sens
I'm getting errors in the backend console trying different combinations from the sample extension:
|
That's because |
@vinokurig and the second error? i thought the quick open is already implemented. Is it a bug in the implementation, please open an issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not happy with stubbing stuff, but in this case it seems to cause runtime errors for methods/events. I hope we can implement them soon.
cc @benoitf
@akosyakov Fixed the second error in the PR |
@benoitf Can we go with current state? |
@vinokurig yes, please check first that commits are Signed (DCO and eca checks are failing) |
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
Apply
window.createQuickPick()
plugin API function. The function wrapsQuickOpenExtImpl
to set and show a QuickPick menu. Other functionality is not implemented because it require a lot of changes in the Theia quick-open model.Is needed for #4266
fixes #4987