I would like to know if there is an option to write programmatic if code is running via Eclipse/IntelliJ or any other editor or running from command line
I was thinking to use System.getProperty() but is there any property that indicate it?
Thanks in advance
Nir