-
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
ctrl+f defaults to the browser search #7525
Comments
FYI: previously we throw an exception: #7474 |
Related conversation: #7481 (comment) |
Linked issue: #7346 |
@kittaakos you are right about #7346 I'm still not sure about falling back to the native search. |
We have to re-introduce a NOOP |
What about |
Yes. Obviously, it belongs here.
"prevent" 😄 yes. I think |
Strangely the same issue present in VS Code, try with the terminal for instance:
I don't think that's nice though. |
Actually before it was working like in VS Code: if you have an opened editor which is not focused, Find and Replace will still applied to this editor. It does not work only in the case if a widget, e.g. terminal, has own command. I think we should align again with it. |
I don't like the idea because then we have to handle monaco commands differently, one command (find, replace) would require an editor, it does not necessarily have to have the focus. Other commands, such as select all, undo would require a focused editor. But please go ahead if you think it is better. |
I afraid that it will be surprising to users, since it used to work like that in Theia for other commands except |
But it threw an error. |
yes, this thing we can fix by no-op core find/replace handlers which are always enabled, since we have reverse handlers Monaco and terminal extensions will win |
@lmcbout please file a separate issue. The problems view should have |
@kittaakos I'm trying to figure out where do we check when closures and preconditions of Monaco commands/actions with the new approach. We used to do it via |
For the built-in Monaco commands, yes. We use these for the enablement checks: |
Why is it better? Don't we ignore internal Monaco logic, i.e. we call a command when Monaco does not expect it. Should not we evaluate them instead in |
Otherwise, you never execute anything from VS Code's Update: fixed the module name, added link. |
You mean for |
I wonder also why do we need |
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Description
Reproduction Steps
OS and Theia version:
Diagnostics:
The text was updated successfully, but these errors were encountered: