I have a simple working java build system:
{
"shell_cmd": "javac $file_name && java $file_base_name",
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java",
}
The program successfully compiles and all print statements show up inside Sublime Text’s own terminal.
However, I would like to have an external terminal (cmd prompt or powershell) open up automatically and run the program via the java “Program Name” command. Is there anyway I can make the build system call an external terminal (in the same location as the file being compiled) and pass the java “filename” command to that terminal and run?