An extension for running various types of programming languages.
Overview
This is a simple executor for programming languages with command line arguments support.
Usage
To run a program, do any of the following:
Click the status bar Joi Akash logo to run programs
Use the shortcut (default: Ctrl+Alt+A) to run the command.
To format a program, do the following:
Use the shortcut (default: Ctrl+Alt+F) to format your code using clang-format.
Also, you can use the command palette (either with F1 or Ctrl+Shift+P) and search for Joi Akash or Joi Akash Format.
Configuration
If you want to configure the commands that are being executed in the terminal follow these steps.
Go to your configuration file (Settings > joi-akash-runner.executorMap > settings.json).
At the end of the file, type joi-akash-runner.executorMap and hit enter.
Now, configure the command of your liking.
Syntax
If you type these following keywords in the joi-akash-runner.executorMap, it will be replaced with the corresponding values.
Keyword
Description
$fileName
Active document name.
$dir
Directory containing the active document.
$fileNameWithoutExt
Active document name without extension.
$dirWithoutTrailingSlash
Directory containing the active document without trailing slash.
$tempArgs
Input string passed as arguments from the prompt.
Known Issues
The default configurations might cause problems with the older versions of powershell.
Note: It's NOT a compiler or an interpreter of any kind. If you want to run programs with it, you should install the appropriate compiler or interpreter.
Contribution
If you want to contribute to this extension, please open an issue on GitHub.