I have an Android project in IntelliJ IDEA. When I hit Ctrl+Shift+N to open a file, the drop-down of file names includes both .class and .java files. The .class files are in the bin directory of my project.
I can see wanting .class files for external libraries (like a linked in jar file) but I don't want them for my own sources. I'm new to IDEA and assume this is a simple thing I just didn't do right, but I can't seem find it and it's driving me crazy. Any ideas?
1 Answer. Show activity on this post. deselect "Class" and they should not appear anymore.
class files by going to the out/production/main folders from the home directory of the project.
Select an item you want to delete. Select Refactor | Safe Delete from the main or context menu or press Alt+Delete . In the dialog that opens, select necessary options and click OK. If IntelliJ IDEA encountered potential problems, it displays the Usages Detected dialog.
When necessary, you can delete files from student class folders. You can delete files that were sent to the class or collected from the class. Class must be in session for you to delete files.
Set bin
directory as Excluded, normally IDEA excludes all the output folders by default and doesn't show you any .class
files.
For Android Studio, there is a blue triangle when 'enter file name' (CMD + SHIFT + O) window is active. Clicking on the triangle brings down a drop down list of file types to be included/excluded in search
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