In IntellJ, I can type ⌘+⇧+N or select Navigate > File... to open the navigate to file dialog.
In my project, some dependencies bring in .class
files, and when I search for their .java
counterparts, the dialog gets polluted with the .class
file results as well.
How can I make this dialog ignore all .class
files?
So the easiest way to exclude your test is to create a third source folder, call it /ignore, and not mark it as a source folder in IntelliJ. You can then drop any file you don't want to include in your compilation there temporarily, and drag it back to its original folder when you want to continue working on it.
class files. Inside the output directory, IntelliJ IDEA also creates subdirectories for each of your modules. The default paths for subdirectories are as follows: Sources: <ProjectFolder>/out/production/<ModuleName>
You can automatically locate a class in the Project tool window. If the class is opened in the editor, press Alt+F1 to open the Select In popup. In the popup, select Project View and press Enter . IntelliJ IDEA locates your target in the Project tool window.
Use the filter
deselect "Class" and they should not appear anymore.
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