Remove `run anything` keyboard shortcut

Answered

Hi, 

I was wondering if it's possible to remove double ctrl shortcut (which execute run anything command).

I use double ctrl as a global system shortcut (to show terminal) and it is kinda annoying in PhpStorm.

6
15 comments

Not at the moment, but you will be able to disable the shortcut in the upcoming release: https://youtrack.jetbrains.com/issue/IDEA-197444

It'd take place in the middle of the next week.

0
Avatar
Permanently deleted user

Is this fix available already?

1

It is already available in IDE's build > 183.5065.

2

I found a workaround that works in the following edition:  assign any other keyboard shortcut to "Run Anything" (I chose ^+#R, which I won't hit by accident.)

IntelliJ IDEA 2019.1.4 (Community Edition)
Build #IC-191.8026.42, built on July 30, 2019
JRE: 11.0.2+9-b159.64 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6

1

Nothing is set as a shortcut but it still shows up when I double click `ctrl` by accident

PhpStorm 2019.3.3
Build #PS-193.6494.47, built on February 12, 2020

3

That is weird design, but apparently you need to assign some shortcut to the action in order to make Run Anything stop respond on double Ctrl.

5

Fast-forward, this is still the same behavior on Phpstorm 2021.3.1. 

0

Hi there,

Settings (Preferences on macOS) | Advanced Settings | Disable double modifier key shortcuts

6

I have the same issue in 2024 using Gateway to reach PyCharm 2024.1. Double modifiers are disabled both on host and client. Assigning a keyboard shortcut solved the issue for me.

Is it possible to make the default be some complicated+hard to reach key combination to this feature? The choice of ctrl is unfortunate at best… God forbid you use emacs bindings.

0

Hi Gsohos ,
Vote for this issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-295322 and leave comments there if required.

0

Oddly, in Windows, when I do a Ctrl+C to copy a class name from a log, and then Ctrl+Alt+T to open it (Eclipse keybindings), everything is fine.

However, In Ubuntu GNOME, I do the same thing, and the Run Anything gets triggered.  Disabling double modifier key shortcuts fixes it.

0

ctrl+ctrl is the default keyboard shortcut for dictation on MacOS when using a keyboard without the “Globe” key (ie pretty much every keyboard in existence that isn't built into an Apple computer).  But I use shift+shift very often.  I would like it if there was a separate checkbox to disable ctrl+ctrl but not shift+shift.  Or even better, a comprehensive overhauling of the keyboard shortcut system to allow these to be expressed natively via chords and allowing us to configure any action to this sort of shortcut.  That would be great.  For even more bonus points, allow us to differentiate between left and right modifiers. 

0

Brandon Fryslie Signup you can remap the “Run anything” shortcut via IDE Settings | Keymap so it's not invoked with Ctrl+Ctrl anymore. 

But I agree that customizing and searching double modifier shortcuts is not flexible and intuitive enough at the moment. There is a general request in our tracker for that, please upvote IJPL-61450 and check the existing workarounds listed.

0

Please sign in to leave a comment.