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

Ctrl/cmd + f in terminal find widget should be a no-op #59785

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

alexr00
Copy link
Member

@alexr00 alexr00 commented Oct 1, 2018

Fixes #59317

@@ -465,6 +465,9 @@ actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(RenameTerminalAc
actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(FocusTerminalFindWidgetAction, FocusTerminalFindWidgetAction.ID, FocusTerminalFindWidgetAction.LABEL, {
primary: KeyMod.CtrlCmd | KeyCode.KEY_F
}, KEYBINDING_CONTEXT_TERMINAL_FOCUS), 'Terminal: Focus Find Widget', category);
actionRegistry.registerWorkbenchAction(new SyncActionDescriptor(FocusTerminalFindWidgetAction, FocusTerminalFindWidgetAction.ID, FocusTerminalFindWidgetAction.LABEL, {
primary: KeyMod.CtrlCmd | KeyCode.KEY_F
}, KEYBINDING_CONTEXT_TERMINAL_FIND_WIDGET_FOCUSED), 'Terminal: Focus Find Widget', category);
Copy link
Member

Choose a reason for hiding this comment

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

Was KEYBINDING_CONTEXT_TERMINAL_FOCUS not true when the find widget is focused? This will cause problems for users who want to configure custom keybindings with terminalFocus

Copy link
Member Author

Choose a reason for hiding this comment

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

KEYBINDING_CONTEXT_TERMINAL_FOCUS does not appear to be true when the find widget is focused. What kinds of problems will this cause for custom keybindings?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe it's not such a big issue, it's just people will assume that terminalFocus means that the terminal panel is focused, not just the actual terminal. Anyway, if that is a problem we can fix it when we get to it 😃

@alexr00 alexr00 changed the title Ctrl/cmd + f in terminal find widget should not be a no-op Ctrl/cmd + f in terminal find widget should be a no-op Oct 10, 2018
@Tyriar Tyriar added this to the October 2018 milestone Oct 10, 2018
@Tyriar Tyriar assigned alexr00 and unassigned Tyriar Oct 10, 2018
@alexr00 alexr00 merged commit 4ad3ac0 into master Oct 11, 2018
@alexr00 alexr00 deleted the alexr00/doubleCtrlF branch October 11, 2018 11:12
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Second ctrl/cmd + f from terminal opens find widget in editor
2 participants