Skip to content

Instantly share code, notes, and snippets.

@chaliy
Created February 3, 2014 18:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chaliy/8789201 to your computer and use it in GitHub Desktop.
Save chaliy/8789201 to your computer and use it in GitHub Desktop.
Sublime text Java build file modification, allows to run just compiled class
{
"cmd": ["javac", "$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java",
"shell": true,
"variants":
[
{
"name": "Run",
"cmd": ["javac", "${file}", "&", "java", "${file_base_name}"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment