title: In Java to indicate if code is running from IntelliJ/Eclipse etc or command line
body: <p>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</p>
  
  <p>I was thinking to use System.getProperty() but is there any property that indicate it?</p>
  
  <p>Thanks in advance</p>
  
  <p>Nir </p>