Suppose this file tree. I'm searching for sass
, and the first highlighted entry is .sass-cache
. However, I want to navigate to _sass
instead. Is there any shortcut to jump to the next/previous search result?
I know I could type _sass
to make it more specific, but I'd still like to know a way to flip through search results if available.
To navigate backwards, press Ctrl+Alt+Left . To navigate forward, press Ctrl+Alt+Right . To navigate to the last edited location, press Ctrl+Shift+Backspace .
Classes can get long, but in IntelliJ IDEA you can quickly navigate between methods with ⌃⇧⬇ / ⌃⇧⬆ on macOS, or Alt+Down/Up Arrow on Windows/Linux. To improve your code readability you can also collapse or expand methods with ⌘- / ⌘+ on macOS, or Ctrl+Numpad - / Ctrl+Numpad + on Windows/Linux.
From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . IntelliJ IDEA places the highlighted string into the search field.
Ctrl+w is show as the shortcut to initiate a simple text search, but frustratingly enough, it isn’t immediately obvious to jump to the next search result. As it turns out, to do this is simple enough: Alt+w will actually repeat the search, in other words jump to the next search result!
The Search Results window is created whenever you use a search feature that searches across multiple files, such as the Search Project, Search Files, or Lookup References commands. Each line in the Search Results window corresponds to a match in some file at some line number.
The search headings are parsed by Source Insight and each search pattern appears in the symbol window on the left side of the Search Results window to provide an overview. For example, a typical search heading might look like: meaning that 23 occurrences where found. The Search Results window is actually just another file buffer that you can edit.
The search headings are parsed by Source Insight and each search pattern appears in the symbol window on the left side of the Search Results window to provide an overview. For example, a typical search heading might look like: meaning that 23 occurrences where found.
It is surprisingly intuitive. Just use the arrow keys, Up or down to select the next or previous match
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With