Skip to content
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

monaco-quick-input-service: set context key "inQuickOpen" #12427

Merged

Conversation

FernandoAscencio
Copy link
Contributor

@FernandoAscencio FernandoAscencio commented Apr 17, 2023

What it does

Continues #12377
Applies the changes suggested in the comments by Vince

How to test

Uses the provided test in the browser suite. Confirm that CI passes.

Review checklist

Reminder for reviewers

@FernandoAscencio FernandoAscencio changed the title Fa/in quick open context key monaco-quick-input-service: set context key "inQuickOpen" Apr 17, 2023
Context Key "inQuickOpen" exists in vscode and its value (true or false) reflects
whether the Quick Open, AKA Quick input, is currently open/visible or not.

This context key can be useful in Theia too, e.g. it can be used in the "when"
clause of commands registered by vscode extensions, or programmatically whenever
it's useful to know the state of the Quick Open UI.

Signed-off-by: Marc Dumais <[email protected]>
Co-authored-by: FernandoAscencio <[email protected]>
@vince-fugnitto vince-fugnitto added the monaco issues related to monaco label Apr 17, 2023
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Confirmed that the context-key when clause works well and CI passes.

@vince-fugnitto vince-fugnitto merged commit a0e45ce into eclipse-theia:master Apr 25, 2023
@vince-fugnitto vince-fugnitto deleted the fa/inQuickOpen_contextKey branch April 25, 2023 13:06
@vince-fugnitto vince-fugnitto added this to the 1.37.0 milestone Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monaco issues related to monaco
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants