How to run a program in Atom Editor?

Omkar picture Omkar · Jun 12, 2015 · Viewed 202.6k times · Source

I found Atom editor as good free alternative to Sublime text editor. Not able to find a straightforward way to run a program in Atom editor. In my case, I am trying to run a java program. Please let me know if it's possible? If yes, please describe the steps to follow.

Answer

AJ Gregory picture AJ Gregory · Jun 16, 2015

I find the Script package useful for this. You can download it here.

Once installed you can run scripts in many languages directly from Atom using cmd-i on Mac or shift-ctrl-b on Windows or Linux.