In Eclipse it is possible to browse through a stack of previous search results. In IDEA it seems I can only have one set of search results, and if I want to do another one, I'm destined to lose the first set. Is there a way around this?
Place your caret on the word or text range you want to find and select multiple occurrences of and then use ⌃G (macOS), Alt+J (Windows/Linux) to find and select the next occurrence of the word. This is a case-sensitive search.
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.
Select a symbol for which you want to find usages, right-click the symbol, and select Find Usages from its context menu or press Alt+F7 . Check the results in the Find tool window. ) the results by files, packages, directories, and so on. on the toolbar in the Find tool window or press Ctrl+Alt+Shift+F7 .
Use ⇧⇧ (macOS), or Shift+Shift (Windows/Linux), to bring up the Search Everywhere dialog. You can search across Classes, Files, Symbols and Actions. You can also use forward slash to filter the results to a specific area, such as /editor.
If you're using the 'Find in Path' method to search (CRTL + shift + F on windows) then you'll see in the dialog box a checkbox near the bottom right labelled 'Open in new tab'. Checking that checkbox allows you to have multiple search results each in their own tab.
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