Dan Hulme
Dan Hulme

Reputation: 15290

How do I disable the Search Everywhere shortcut?

IntelliJ IDEA 13 has the new Search Anywhere feature. It sounds like it might be useful, but so far it just gets in the way. It's mapped to some kind of magical shift-based shortcut, and it comes up every time I try to shift-click to select text. When this happens, the pop-up flickers and gets into some stuck state, so the only way to get rid of it is to click in the editor pane, which of course loses the selection.

I call the shortcut "magical" because the Search Everywhere action appears in the SettingsKeymap list with no mapping, so I can't remove this mapping the usual way. Searching the dialog for search gives no relevant results.

How can I disable this buggy feature until it's ready for production use, and get back the ability to select text?

Upvotes: 48

Views: 14476

Answers (6)

Ra_Hulmin
Ra_Hulmin

Reputation: 190

The settings for the new version have changed

Version: IDEA 2021.2.3

Preference > Advanced Settings

Scroll down to "User Interface", find "Disable double modifier key shortcuts" and check the box.

Upvotes: 18

lidaobing
lidaobing

Reputation: 1075

from: https://youtrack.jetbrains.com/issue/IDEA-161094

In IDEA 2021.2:

You could enable the Settings (Preference on macOS) | Advanced Settings | Disable double modifier key shortcuts option to disable it.

Upvotes: 5

kurdtpage
kurdtpage

Reputation: 3221

To disable the "Search everywhere" feature, you need to invoke "Go to action" (Ctrl+Shift+A), then type "Registry...".

enter image description here

Scroll down to "ide.suppress.double.click.handler" and check the box.

enter image description here

Source: https://youtrack.jetbrains.com/issue/IDEA-161094

Upvotes: 60

George Bungarzescu
George Bungarzescu

Reputation: 47

This problem is still present under linux (ubuntu amd64 16.10 ) on Android Studio using X11Rdp for remote connection, maybe in other situations too - the Search Everywhere dialog appear on single Shift press.

The answer is here

https://youtrack.jetbrains.com/issue/IDEA-114933#comment=27-603899

Basically you need to Open lib/resources.jar/idea/PlatformActions.xml and remove or comment such line:

<action id="SearchEverywhere" class="com.intellij.ide.actions.SearchEverywhereAction" />

and repack the jar.

Upvotes: 3

Dan Hulme
Dan Hulme

Reputation: 15290

After updating to build 133.331, I tried assigning a normal shortcut to it in SettingsKeymap, and that made it stop appearing on double-shift.

Upvotes: 11

Seagull
Seagull

Reputation: 13859

It's called Search Everywhere, and it's present in keymap.

For me it's perfectly disabled.

EDIT As I'v found it is hardcoded now, and will popup at doubleshift source

There is also an issue at jira, about this problem.

I hope it will be fixed soon.

Upvotes: 6

Related Questions