https://github.com/onelivesleft/the-language
Jai language vscode extension
https://github.com/onelivesleft/the-language
Last synced: 4 months ago
JSON representation
Jai language vscode extension
- Host: GitHub
- URL: https://github.com/onelivesleft/the-language
- Owner: onelivesleft
- License: mit
- Created: 2021-01-23T09:59:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-11T15:07:52.000Z (about 1 year ago)
- Last Synced: 2025-10-05T13:03:32.165Z (8 months ago)
- Language: Batchfile
- Size: 3.54 MB
- Stars: 21
- Watchers: 4
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# The Language - Jai Language support
VSCode extension for Jai language support.
Syntax highlighting:

Highlight language inside herestring (postfix `HERE` with language ID)...

...which lets you nicely embed shaders

Uses Markdown for docstrings

Comment tags + checklists

Autocomplete x64 instructions

# IDE-like functionality
*Note: this feature is far from polished!*
The extension provides Rename, Definition and Reference Providers. These work using the compiler, using the now-standard metaprogram plugin interface, so you only have to specify the compiler's location (path to the executable) and which .jai file you use to build your project in the extension settings. To do so, in the project folder make a `.vscode/settings.json` file that looks like this:
```json
// Place your settings in this file to overwrite default and user settings.
{
"the-language.pathToJaiExecutable": "c:\\path\\to\\jai.exe", // You might want to set a good default path for this in VS Code's graphical "Extension Settings" editor.
"the-language.projectFile": "c:\\path\\to\\build.jai"
}
```
This method works both for simple programs that use the Default_Metaprogram, and for projects that setup their own workspaces.