I would like to search in current file the word under cursor like Alt+F3, except manually selecting current word? Is there alike keyboard shortcut?
Asked
Active
Viewed 707 times
2 Answers
1
Not entirely sure what you are looking to do when you say "manually selecting current word", but F3 (Next) and Shift+F3 (previous) will search for the word under the cursor. You can use Ctrl+W (Extend selection) to select the word under the cursor. Finally Ctrl+F will open the find/search tool. More options are listed in help: https://www.jetbrains.com/help/idea/search.html
EDIT
I forgot to mention, if you first use the mouse or Ctrl+W to select the word, and then open the search bar using Ctrl+F, or search & replace using Ctrl+R, IDEA will populate the search field with the selected text.

Lance Miller
- 75
- 2
- 7
-
Thank you! However, I would like to start search without preliminary selecting current word. – Loom Nov 14 '17 at 14:38
1
Ctrl+F3 - Find Next
Unfortunately, I have failed to find any keyboard shortcut for Find Previous shortcut.

Loom
- 9,768
- 22
- 60
- 112
-
1Thank you. Ctlr-F3 starts the search, and a subsequent Shift-F3 will go to the previous occurrence. That is good enough for me. – Michael Piefel May 19 '22 at 08:07