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

Retire context keyword from keybindings #12830

Merged

Conversation

FernandoAscencio
Copy link
Contributor

@FernandoAscencio FernandoAscencio commented Aug 11, 2023

What it does

Close #12657

Signed-Off-By: FernandoAscencio fernando.ascencio.cama@ericsson.com

How to test

  1. Open Theia
  2. Test keybindings

The following keybindings should be working:

  • ctrl+a while focused on the content of the debug consoled
  • enter, upArrow, downArrow while in the input box of the debug console.
  • shit+f5, shift+ctrl+f5, f10, f11, shift+f11, f5, f6, while in a debug session.
  • f9, shift+f9 while in a text editor open.
  • enter while focused in the input text box of the breakpoint editor widget.
  • esc while a breakpoint editor widget is open and focused in said widget or the text editor that contains it.
  • alt+b while in a text editor and the document is blameable.
  • esc while the text editor is displaying blame comments.
  • esc when notifications (toast or ) are active
  • f2, ctrl+i, and del (Win/Lnx) or ctrl+del (Mac) when in the explorer or file navigator.
  • esc when the find widget is active in a terminal window.

Review checklist

Reminder for reviewers

@FernandoAscencio FernandoAscencio marked this pull request as ready for review August 14, 2023 14:33
@vince-fugnitto vince-fugnitto added keybindings issues related to keybindings quality issues related to code and application quality labels Aug 15, 2023
@FernandoAscencio FernandoAscencio force-pushed the fa/RetireKeybindingContext branch 2 times, most recently from 2a1cc4b to be4bc27 Compare August 30, 2023 15:31
The method did not properly set the visibility state of notifications.
Thus, the context keys were not properly updated.

Signed-Off-By: Fernando Ascencio <fernando.ascencio.cama@ericsson.com>
Retiring the use of `context` in keybindings

Signed-Off-By: Fernando Ascencio <fernando.ascencio.cama@ericsson.com>
- `Blame Keybinding context` deletion
- `Terminal Keybinding context` deletion
- `Console Keybinding Context` deletion
- `Debug Keybinding Context` deletion
- `Editor Keybinding Context` deletion
- `Notification Keybinding Contribution` Deletetion
- `Navigator Keybinding Context` deletion

Signed-Off-By: FernandoAscencio <fernando.ascencio.cama@ericsson.com>
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Looks good to me. I've executed all the shortcuts as outlined in the test description and everything seems to work well for me 👍

@msujew msujew merged commit 6299414 into eclipse-theia:master Sep 19, 2023
12 checks passed
@vince-fugnitto vince-fugnitto added this to the 1.42.0 milestone Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keybindings issues related to keybindings quality issues related to code and application quality
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Retire KeybindingContexts
3 participants