-
Notifications
You must be signed in to change notification settings - Fork 29.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
Allow customization of mouse shortcuts #3130
Comments
+1 I would like to do |
+1 |
I've found an interesting performance implication resulting from the current defaults/lack of configurability. Consider the hard-coded modifier associated with the "peek definition" functionality. If a plugin must do some work to provide the definition, it's very likely VSCode will ask plugins for definition information even when the user has no intention of obtaining it. As I describe in microsoft/vscode-go#257 (comment):
When using vscode-go, this means significant extraneous energy usage which could be avoided almost entirely by providing modifier key settings for "peek definition". Not only would the feature be convenient and allow for better host OS GUI integration, but VSCode would be more CPU-efficient for common usages. |
+1 – Atom, Sublime and jsbin.com (presumably others, too) all allow creation of multiple cursors with ⌘+click (on a Mac, at least). It'd be good to be forced to learn as few new shortcuts as possible when switching to a new editor. |
I'm just completely avoiding using alt+ @alexandrudima any thoughts on when you could get to this? It's blocking adding cursors via mouse on Linux. I can take a shot at it if you give a high level approach. |
+1 I just discovered VS Code and I'm loving it, but as a long time Sublime Text user on Linux, I'm missing the ctrl + click ability. Would love to be able to customize mouse shortcuts. |
From @ChristopherHaws in #6853
|
+1 for customization. |
I would like to note, that adding cursors with the mouse is impossible on Linux, because |
In the meantime, you can use this AHKv2 script: (Note: Works in Chrome and related editors, Notepad++, and also in Windows Terminal shells) #Requires AutoHotkey v2.0
; Ctrl+Left Mouse button down send double-click to select the whole word under cursor (with enabled range selection)
#HotIf ((WinActive("ahk_class Notepad++") || WinActive("ahk_class Chrome_WidgetWin_1")) && A_Cursor == "IBeam") || WinActive("ahk_class CASCADIA_HOSTING_WINDOW_CLASS")
~^LButton::
{
Send("{LButton Down}")
Send("{Ctrl Down}")
}
#HotIf |
+1 |
+1 |
++1 |
To everyone who thinks it's funny to play this "+1" comment game, please read https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions, which says:
There are currently over 200 people subscribed to this issue ticket. I at least don't enjoy getting notifications for comments like this. Think of the maintainers. If you annoy them enough, they'll lock this issue ticket, and then none of us will be able to offer help in design / implementation of this feature. I don't think anyone here wants that. |
|
👎 |
As I remember there is a working pull request, but still not merged. Why? |
Mind sharing the link? |
Meanwhile half the new release notes for the latest version of VS Code are to do with AI code generation and reading it out and useless AI stuff like that. I'm going to unsubscribe from this issue - we're never getting it. I give up. |
It is odd init, is there a tracker to see what other active topic issues are ignored by MS despite the number of poeple still posting in them? |
+1 |
I keep messing up my code because I try to do the "swipe upwards" gesture that I use in firefox. Basically I press the middle mouse button, move upwards, and release. This triggers an action to scroll to the top. Same downwards. It would be nice if vscode was able to do this. |
I generally try to use gestures, because Opera, and later Vivaldi let me use them throughout. Yes, their application is limited, but so common at times, it's disturbing when you naively wave your mouse and nothing happens. |
This open issue seems to be so old it doesn't get the workflow love that new issues get. I wish it could be put into the pipe again as a new issue. For now it is just a tumbleweed in the void of the internet. For those looking for ctrl+click as a select word (with drag to select more) see my post here: #3130 (comment) As for VSCode and amazingly not getting what I would say is a basic feature for so many years, mouse button customization, I'm really thinking now that I need to give up on VSCode and the mouse and start taking Neovim seriously. https://neovim.io/ I'm at the 99% confidence that after 8 years of this feature request being open, it will NEVER happen. (in that time I have even seen a PR that adds the feature, which was also totally ignored.) |
I am not sure that this is actually a "gesture", I think it is activating an alternative scroll mode? Don't this this scroll mode is available on other browsers, fwiw, might be a Firefox specific thing? Its definitely not working in Chrome or Edge for me, or in any other app that has scrolling for that matter. So seems like might be a much bigger request than the scope for the current issue here |
@stevekm I enable gestures through an extension called Gesturefy, it's not a native firefox thing. |
Recently I've run into an issue where ctrl+click on a typescript type goes to the wrong definition. Perhaps I could debug or fix it by tweaking mouse interaction bindings, which brings me to this 8.5 year old feature request that is massively upvoted. I mean, they mention that they prioritise based on issue upvotes. This is the second most upvoted issue, should it then not be prioritised really highly? Is there a plugin for mouse interaction bindings? Perhaps a status on this feature? |
So far the only thing that works is to use AHK macros. |
/ |
|
Details
|
+1 |
+1 |
I find it mind blowing that it's still not possible to use Please add this feature! I would pay to have this feature be available! |
8 years, i'm shocked |
Some users would like to be able to customize not just pure keyboard shortcuts but also mouse + modifier ones. These are currently hard coded, for example alt+click to add a selection.
See #3091 for some more context.
The text was updated successfully, but these errors were encountered: