-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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 |
++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 |
Hi, another person frustrated that Microsoft does not allow changing the ctrl+click command. I couldn't even find an extension. |
It's probably too complicated and nobody dares to refactor it. My advice is to configure your window manager to translate some mouse actions into others. Awesomewm is very flexible for this, for example I added song queue on middle click even though Audacious doesn't support this natively. On Windows you probably can use Autohotkey. |
@madprops It's not "too" complicated, in the last 8 years there has been a pull request for vs code and an extension that relied on it that implemented this feature. Many usable ways to work around the missing feature using auto hotkey has already been documented in this thread. This ticket should actually just be closed by Microsoft as "will not do" and just end the thread and the misery of people actually thinking they would ever take any interest in implementing this basic IDE feature. |
For Mac users, to mimic IntelliJ's middle click behavior, here is my workaround config to map {
"description": "VS Code middle click",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": { "pointing_button": "button3" },
"to": [
{
"modifiers": ["left_command"],
"pointing_button": "button1"
}
],
"type": "basic"
}
]
} |
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: