Hello everyone!
I’m new in this forum. Sorry for my bad english.
I use ST2 to coding my Python projects and now I’m moving to learn Java. ST2 has a good build system for a lot of programming languages but not to run the files created from compiled programming languages.
So i develop a plugin that “fix” this issue.
Name --> “Run”.
Github URL --> http://www.github.com/Phenryx/Run
Why use this plugin?!
Personally, I am bored to use the modified “JavaC.sublime-build” to build and run at the same time because this increases enormously the time to simply run a alredy compiled source file.
If I want to show a complex Java (or other compiled language) program, already compiled, you have to press “CTRL+B” and wait 40-50-60 seconds to build and run the program.
With this plugin you build one time with “Ctrl+b” and when you want to show the program simply press “ctrl+shift+b” or “F5” and immediatly the plugin run your (already compiled) program.
You can write your configuration for almost any programming languages you want, modifying the “Run.sublime-run” as you do with the sublime-build.
Install the Plugin
Download the sublime-package from Github repo (here direct download link http://www.github.com/Phenryx/Run/blob/master/Package/Run.sublime-package?raw=true), open Sublime and go to Preferences>Browse Packages… Now go in the up folder and copy the plugin into “Installed Packages” folder. Reboot Sublime and all is done! Now you can see in the Tools menu a new voice “Run”.
I think that this plugin should be integrated within the SublimeText2 Core. But this is not a my choose.