In IntellIJ IDEA how can I exclude a few files from find in path?

!*.json, !*.txt,!*.js,!*Test*.java,*.java 

In IntelliJ 2021, you can include specific file type by .ext1 separated with commas and to exclude them with !.ext2

Refer image, I need only .java file and not !.js
you can also exclude !Test.java as well.

https://stackoverflow.com/questions/55069822/in-intellij-idea-how-can-i-exclude-a-few-files-from-find-in-path/68137894#68137894

How to open idea injelliJ from command line

Hi Friends,

It becomes very handy to open project in your IDE without wasting time in navigation from UI. To accomplish the same here is simple way. Run below commands and you are done 😉

curl -L "https://gist.githubusercontent.com/chrisdarroch/7018927/raw/9a6d663fd7a52aa76a943fe8a9bc6091ad06b18d/idea" -o /usr/local/bin/idea
chmod +x /usr/local/bin/idea

usage: open terminal and navigate to your project

idea .

Tested on Mac OS X

Note: If you get a “Permission denied” error, your /usr/local/bin directory probably isn’t writable and you’ll need to install script as the superuser. Run sudo -i, then the two commands above, then exit.