-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PR: Make CodeEditor mouse shortcuts configurable. #23463
base: master
Are you sure you want to change the base?
Conversation
Hello @athompson673! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2025-01-17 20:53:06 UTC |
…ing to set_mouse_shortcuts()
@ccordoba12 I took a first shot at making a UI for editing mouse shortcuts, what do you think?
I do still have to add in some sort of validation to prevent users from applying 2 shortcuts to have the same modifiers, but it's otherwise functional already. |
Now with collision checking: Media1.mp4 |
Description of Changes
Makes CodeEditor mouse shortcuts / modifiers configurable.
Implementing multi-cursor editing (#22996) added new mouse click functionality which was bound to Ctrl-Alt Click. In other popular IDEs, the mulit-cursor interaction is Alt Click, however Spyder had already configured Alt Click to jump within a document (simulates hovering / clicking the scrollflag area). In order to allow users to choose whether to keep the original Spyder behavior, or to change the mouse interaction to be more similar to other IDEs, we need to add the ability to configure the mouse modifier keys.
Issue(s) Resolved
Fixes #
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: athompson673