JavaScript

The JavaScript language relies on sourcegraph’s JS and TS Language Server for language implementation, and Node to run programs. The following items are the settings specific to JavaScript:

Input Directory

Accepts a directory, usually the src folder containing the image source files.

Highlight Directory

Accepts a directory, to contain all the highlighted output images. Images are saved with the same name and relative location as their source, but with _highlighted.png instead of ending with .png.

Running File

The file path to the image file to run.

Compiler output

Accepts an image to be saved and store all compiler console output data.

Program Output

Accepts an image to be saved and store all of the program’s console output data.

Checkboxes

Syntax Highlight

If the code should be syntax highlighted in the highlight directory.

Execute Program

If the program should be executed.