Skip to content

Instantly share code, notes, and snippets.

@VijayKrishna
Created March 17, 2013 05:32
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 VijayKrishna/5180281 to your computer and use it in GitHub Desktop.
Save VijayKrishna/5180281 to your computer and use it in GitHub Desktop.
Sublime Text 2 Java Build file
{
"cmd": ["javac", "-Xlint", "$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java",
"variants": [
{ "cmd": ["javac", "-Xlint", "$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java",
"name": "Java Lintter"
},
{ "cmd": ["java", "$file_base_name"],
"name": "Run Java"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment