I know the name of java package and I want to find it in project. How to do it fast in Intellij IDEA
? Is there any keyboard shortcut?
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.
In the POM, right-click anywhere in the editor to open the context menu and select Maven | Show Dependencies. Alternatively, press Ctrl+Alt+Shift+U or Ctrl+Alt+U . In the diagram window, IntelliJ IDEA displays the sub project and all its dependencies including the transitive ones.
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.
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 .
Open Project View
tool window, switch to the Packages view mode, click on the gear icon, enable Flattern Packages option, disable Show Modules option.
Start typing the package name to activate the speed search.
Another option is to use Navigate
| Class, type your.package.*
, select some class, press Alt+Home for the navigation bar popup, use arrows to select the package, press F4 (may not work if navigation bar is not floating, but enabled in the View menu instead).
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