This VS Code extension provides support for the j programming language.
The extension currently provides syntax highlighting and an integrated J console.
The above code snippet uses the Monokai color theme with some tweaks discussed below.
Getting the j (jprogramming) extension for VS Code to work involves two steps: 1.
Install VS Code, 2. Install the j extension.
Assuming you've installed VS Code to install the j extension, start VS Code. Inside VS Code, go to the extensions view either by
View: Show Extensions command (click View->Command Palette...)
or by clicking on the extension icon on the left side of the VS Code
In the extensions view, simply search for the term
j in the marketplace
search box, then select the j extension and click the install button. Note that it may be easier to search for the publisher (
tikkanz) rather than
You might have to restart VS Code after this step.
To provide highlighting for some of the
j's additional language features not commonly catered for in most color themes, a number of suggested additions for your User Settings are provided in the
user_settings_j.json file. The colors used work well with the Monokai theme.
To provide the J console, make an entry in User Settings pointing to the jconsole executable, for example:
"j.executablePath": "/home/elmo/j8/bin/jconsole" or on Windows:
"j.executablePath": ""C:\\Program Files\\j64-806\\bin\\jconsole.exe"
.ijs script is open, the J console should show in the terminal window. To send code to the terminal, click on the script window to give it focus, and use the following commands from the Command Palette. Note that if the line is the first line of an explicit definition, then the entire explicit definition will be run.
|J: Execute Line and Advance
||Execute the line and advance to the next non-blank line
|J: Execute Line
||Execute the line without advancing
|J: Execute Selection
||Execute the selected text (must be a selection in a single line)
|J: Load Script
||load the script file
|J: Load and Display Script
||load the script file with display
See the Change Log for release notes.