Skip to content

moritzfl/javacompilation-for-texteditors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

50f4849 · Mar 4, 2017

History

10 Commits
Mar 4, 2017
Feb 24, 2017
Feb 24, 2017

Repository files navigation

TextwranglerJavaCompilation

Jump to German description

##English This script enables the compilation and execution of .java-files directly from the inteface of Textwrangler. This also works with package-structures as long as this does not include the use of external library-jars.

Steps to get the scripts installed:

  • open Textwrangler
  • click the script-icon in the menubar (it looks like an S made of paper) and click on "Open Scripts Folder"
  • Copy the script into the folder.

Steps to use the script:

  • Open .java-file in Textwrangler (also works when you are currently creating a java-file but you should save the file before executing the script)
  • Click on "ComplileAndRunJava" in the script-menu of Textwrangler

##German Dieses Skript ermöglicht es, direkt aus Textwrangler heraus .java-Dateien zu kompilieren und zu starten. Dies funktioniert auch mit package-Strukturen ohne zusätzliche Library-jars.

Dazu muss das Skript wie folgt installiert werden:

  • Textwrangler öffnen
  • in der Menüleiste auf das Skript-Icon (sieht aus wie ein S aus Papier) klicken und auf "Open Scripts Folder" klicken.
  • das Skript in den Ordner kopieren

Die Verwendung der Skripte verläuft wie folgt:

  • .java-Datei in Textwrangler öffnen (funktioniert natürlich auch, wenn man selber codet und gerade eine solche Datei erstellt, in diesem Falle sollte die Datei aber auf jeden Fall gespeichert werden, bevor die nächsten Schritte ausgeführt werden)
  • Im Skriptmenü in Textwrangler "CompileAndRunJava" aufrufen