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
Allow middle mouse button to be bound in keyboard shortcuts #43794
Comments
This would also be highly useful on linux for overriding middle mouse click from paste -> anything else (...even with editor.selectionClipboard is false). |
Being able to define all mouse clicks would be nice. Especially for something like James-Yu/LaTeX-Workshop#716 |
My understanding is that in Linux, this middle-click functionality is coded into Xorg, so it would not be trivial for VSCode to have this functionality. My issue is that VSCode currently maps multi-line select to the middle mouse button which behaves very weirdly when I actually try to use it. |
In Linux Mint both Chrome and Firefox are able to bind middle click to page scroll. |
Is there any extension available right now to use middle click for jumping to the definition? I'm very used to this from pycharm etc.. |
@poodle-chowder , I think this is a duplicate of #3130 ? |
I really need this functionality too, I'm migrating from Android Studio to VSCode, and I go to defition with middle mouse click, and VSCOde don't have plugins to this or duplicate with ctrl + D. Please consider to implement this functionality. |
This prevents me from using VS Code :( I so much get used to navigate though the code by just clicking on the class names... |
When will this be added already!?!... it opens up at number of much more easier shortcuts especially with mmb+modifier key.... like commonly used ones like ctrl+shiftf+f12 ...I mean I use 'find all references' all the time, would be so much better bound to mmb+modifier, |
For those of you who are looking for a short term fix for this, I've created an AutoHotkey script which provides middle-click Go To Definition behaviour:
Copy the above contents into a file named |
Tip: you can a use a tool like BetterTouchTool for mouse / touchpad / touchbar on mac: |
do you guys not have a keyboard? |
@chipnertkj In all other IDEs I can click on a class name with |
You can just navigate to it without your hand ever leaving the keyboard. Just think about how much time that can save you. I get that it'd be a useful feature for people who aren't used to keyboard navigation and I agree that it indeed should be a feature, but since it doesn't seem like we're getting it anytime soon - why don't you try it out? |
But a lot of us are going through the code with the mouse because we quickly navigate between definition trees. We can't not keep our hands on the keyboard if we didn't have it there to begin with. You're missing the point |
Hey VS Code employees, could you perhaps have your triage bot include a link to whatever issue this one supposedly duplicates? |
Steps to Reproduce:
(feature request) Not technically a key, but it could be useful if bound like one. Example: middle mouse click to go to definition.
The text was updated successfully, but these errors were encountered: