View on GitHub

Eadgyth Programming Editor

A text editor and basic code editor written in Java. Write and run code in Java, C#, Perl, Python, R or HTML

Help

Content


Requirements

The editor requires Java 8 or higher. To compile your own Java code by the built-in compile function Eadgyth must be run with the runtime environment (JRE) contained in a Java Development Kit (JDK) because it uses a compiler API contained in the JDK. As of Java 11 JREs are only available in conjunction with a JDK anyway.

It is further important to note that the built-in commands to run code from within the editor basically work in the same way as if commands are run from the command line or terminal. This means, that the computer must be set up accordingly:
The executables of a language must be installed and the paths to them set permanently as PATH system (environment) variables.

See also README


Setup to run source code

Setting a project

  1. Open a file from or save a new file to the directory that is the intended root directory of the project. The file may also be saved in a subdirectory or a subdirectory path contained in the project directory. Assigning a project only requires that a (any) file that is contained in the project directory is open or in the selected tab if multiple files are open. The project directory is the working directory where commands (built-in or custom) are executed.
  2. Open the project settings by selecting 'Settings for...' in the 'Project' menu and choose the suitable category to open the project settings.
  3. The input options to set a project depend on the category. The required entries are the name of the project directory and, except for the categories 'HTML' and 'Custom commands', the name of the "main" source file. The name of a separate subdirectory containing source files inside the project (a source directory) would have to be entered in the corresponding text field below the field for the project directory. Click ok. If the input was correct, that is, the specified source file is found in the project directory, the project is set "active" and the project files can be viewed in the 'Project explorer' which is opened from the 'View' menu.

Retrieving projects


Back to top


Project categories

Java

C#

Perl

Python

R

HTML

Custom commands

Back to top


Using the console

The console shows messages after compiling a project (applies to Java and C#) and the (error) output of a program that is tested. A started program can be quit by pressing the 'stop' button in the toolbar of the console.

Also, a system command can be entered in a dialog which is opened by pressing the 'write' button in the toolbar of the console. However, commands are taken "as-is" which means that they are not processed in any way and there is no Eadgyth-specific command syntax. Also, the editor's console does not emulate the command line/terminal of the operating system. Running a command just means to start a process whose output is displayed and which may ask for input that can be typed in. Therefore, the following hints may help ...

How to define commands

To run a system command...

  1. Open the console panel by selecting 'Console' in the View menu.
  2. Press the 'write' button and enter a command in the shown dialog window. Click ok to run the command.
  3. To run a previous command press the run button (in the tool bar of the console; to change a command open the dialog again by pressing the 'write' button.
  4. A commands that contains spaces should be enclosed in quote marks.

Back to top


Contact: m.bussiek@web.de
(A message is welcome if the program does not work as suggested in this help)