Skip to content

Instantly share code, notes, and snippets.

@cchacin
Last active January 26, 2018 03:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cchacin/6a4b9229769ef13f0f0e to your computer and use it in GitHub Desktop.
Save cchacin/6a4b9229769ef13f0f0e to your computer and use it in GitHub Desktop.
Atom Build for Compile and Run Java code
{
"cmd": "javac *.java && java {FILE_ACTIVE_NAME_BASE}",
"name": "{FILE_ACTIVE}",
"args": [ ],
"sh": true,
"cwd": "{FILE_ACTIVE_PATH}",
"env": {
},
"errorMatch": "^(?<file>[^\\.]+.java):(?<line>\\d+):(?<col>\\d+)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment