Skip to content

Commit 621b98b

Browse files
authored
Update README.md
1 parent b18a7e3 commit 621b98b

File tree

1 file changed

+11
-26
lines changed

1 file changed

+11
-26
lines changed

Diff for: README.md

+11-26
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
# JavaCompilation for BBEdit
2-
[Jump to German description](#de)
1+
# JavaCompilation for Texteditors
32

4-
Note: A legacy version for the popular Textwrangler-Editor exists aswell in this repository.
5-
The developer has however dropped Support for Textwrangler and is promoting BBEdit as alternative.
6-
BBEdit will offer you the same functionality as TextWrangler even after the trial period.
7-
8-
## English
3+
## What does this script do?
94
This script enables the compilation and execution of .java-files directly from the
10-
inteface of BBEdit. This also works with package-structures as long as this does
5+
inteface of your Text-Editor. This also works with package-structures as long as this does
116
not include the use of external library-jars.
127

8+
## What Editors can be used?
9+
This script was written for and tested with BBEdit (and previously Textwrangler). It is however agnostic of the editor
10+
in use as long as it is called directly with the editor being the active window in the front.
11+
12+
Background: The script tries to use frontmost document in the frontmost application as basis for compilation and execution.
13+
If that is your Texteditor and the Texteditor supports macOS's scripting features everything is fine.
14+
15+
## Setup with BBEdit
1316
Steps to get the scripts installed:
1417
- open BBEdit
1518
- click the script-icon in the menubar (it looks like an S made of paper) and click on
@@ -20,21 +23,3 @@ Steps to use the script:
2023
- Open .java-file in BBEdit (also works when you are currently creating a java-file
2124
but you should save the file before executing the script)
2225
- Click on "ComplileAndRunJava" in the script-menu of BBEdit
23-
24-
25-
## <a name="de"></a>German
26-
Dieses Skript ermöglicht es, direkt aus BBEdit heraus .java-Dateien zu kompilieren
27-
und zu starten. Dies funktioniert auch mit package-Strukturen ohne zusätzliche
28-
Library-jars.
29-
30-
Dazu muss das Skript wie folgt installiert werden:
31-
- BBEdit öffnen
32-
- in der Menüleiste auf das Skript-Icon (sieht aus wie ein S aus Papier) klicken und auf
33-
"Open Scripts Folder" klicken.
34-
- das Skript in den Ordner kopieren
35-
36-
Die Verwendung der Skripte verläuft wie folgt:
37-
- .java-Datei in BBEdit öffnen (funktioniert natürlich auch, wenn man selber codet
38-
und gerade eine solche Datei erstellt, in diesem Falle sollte die Datei aber auf jeden
39-
Fall gespeichert werden, bevor die nächsten Schritte ausgeführt werden)
40-
- Im Skriptmenü in BBEdit "CompileAndRunJava" aufrufen

0 commit comments

Comments
 (0)