The Open File window in Android Studio, Command+Shift+O, will search all directories by default, including the node_modules
directory. This forces you to have to go through endless common files, like AndroidManifest.xml
, before finding the one in your root directory.
I noticed that in the my_project.iml
file there is an excludeFolder
tag but any edits I make to the my_project.iml
file get overwritten the next time I rebuild the project.
How do I exclude the node_modules
directory permanently from coming up in the Open File window?
This is on Android Studio 3.0.