34

Up until version 10, intellij enabled searching text in the console window. From version 11 this option is not available anymore.

Is there any configuration to enable that? A plugin maybe? This is very useful for me and I miss this function...

-- EDIT --

I'm using the community edition of Intellij

nahsh
  • 729
  • 1
  • 6
  • 15

8 Answers8

34

Override the keymap for Ctrl+F to "Find" which was mapped to some other find.

To be more specific, in Settings - Keymap go to Main Menu - Edit - Find - Find... and make sure that a Shortcut is assigned here.

Cohensius
  • 385
  • 7
  • 18
binaries01
  • 471
  • 4
  • 12
  • 9
    To be more specific, in Settings - Keymap go to Main Menu - Edit - Find - Find... and make sure that a Shortcut is assigned here. – stefan.m Sep 17 '17 at 03:49
28

Press Ctrl+F in the console:

Search

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
  • 28
    That would too easy, wouldn't it? This is how I used to do that in old versions - it's not working... – nahsh Jul 16 '13 at 15:18
  • 3
    I've just took this screenshot from IDEA 12.1.4, so it works. Maybe your Find action has different shortcut? Verify in `Settings` | `Keymap`. Also, what Run configuration type do you use and what console do you search? – CrazyCoder Jul 16 '13 at 15:19
  • Thanks. CTRL+F had some kind of conflict. I used ALT + F and now it's working! – nahsh Jul 16 '13 at 17:28
  • 23
    It seems eclipse bindings set Ctrl+F to Replace instead of Find. – Celos May 19 '14 at 11:57
  • @Celos which shortcut are you using then? – fascynacja May 21 '14 at 11:46
  • 3
    @fascynacja I switched Ctrl+F back to Find and, after going over the list of familiar search/replace related shortcuts from Eclipse, mapped Replace to Alt+F. All the others I could think of (Ctrl+H etc) are already meaningfully mapped. – Celos May 22 '14 at 06:54
  • 5
    I'm using 14.1.2 at the moment, and use the IdeaVim plugin. Ctrl+F in the console window isn't working. It's mapped to Find in the keymap. Perhaps there is a bug where when using the IdeaVim plugin, when the focus is on the console, all the keys are taken away for vim, even though the vim keys aren't used inside the console. I just figured a work around for this. Add a keymap for Ctrl+Shift+Alt+F mapping to the Find action... – Mike Oct 07 '15 at 18:23
  • This solution don't work on the terminal for the specified version. It's the main part of the issue. – sab Apr 03 '16 at 17:08
  • @sab Terminal and Run console are completely independent features, however Ctrl+F also works for Terminal tool window in the latest version. – CrazyCoder Apr 03 '16 at 19:00
  • Not supported in IJ 16.2. Not even able to search a text in console and they call this the most intelligent IDE? – Lucky Nov 01 '16 at 06:27
  • Working well in IJ 2017.1.3 when a shortcut is assigned in Settings - Keymap - Main Menu - Edit - Find - Find... – stefan.m Sep 17 '17 at 03:50
  • The VIM plugin breaks this. Ctrl+F is mapped to Find.... but the VIM plugin seems to absorb it, even if you're not in an editor window. Using Alt-F3 works. – Erik Aronesty May 15 '20 at 21:46
12

Check you key map settings. Like in my case - I have eclipse key mapping and there is CTRL+F set to "edit\Replace" not to "edit\Find", and the "edit\Find" has no key binding at all, that's why it is not working in console.

user3190916
  • 737
  • 8
  • 8
12

Go to File -> Settings -> Keymap -> Main menu -> Edit -> Find -> Find... (right click on it) -> add keyboard shortcut. It's not set by default so you have to set it manually.

Reem
  • 1,439
  • 2
  • 18
  • 21
10

CTRL+F is by default for Replace that is not supported in console for IntelliJ.

Click on console and Use CTRL+K it is used for find in intelliJ

c.sankhala
  • 850
  • 13
  • 27
3

I'm using Eclipse key mapping in IntelliJ. The shortcut to search the console is Ctrl + Shift + G. By default it would search the word where the cursor is pointing.

Aleksandar
  • 636
  • 1
  • 7
  • 24
2

I was encountering the same issue while I was using vim in IntelliJ 2018.3.4.

After I disabled the Tools -> Vim Emulator, I could then search in Console using Ctrl+F.


Updated

In macOS, I just could use Command+F without disabling the emulator.

Perhaps that's why developers are using macOS more.

Hearen
  • 7,420
  • 4
  • 53
  • 63
2

For those who have vim plug-in enabled.

Go to Editor->Vim Emulation and check keymaps. Make sure Ctrl + F is handled by IDE and not by Vim.

After setting that, I am able to search the console by Ctrl + F and keep vim enabled.

karakays
  • 3,643
  • 3
  • 20
  • 14