White Language for VS Code
This extension provides syntax highlighting, syntax diagnostics, and other basic VS Code support for White Language.
The extension finds wlc through whitelanguage.compiler.path or WL_PATH/bin/wlc. You can use the run button in the editor title bar to compile and run the current White Language file.
Run arguments, the working directory, environment variables, save behavior, and optimization level can be configured under whitelanguage.run. The stop button terminates the active compile or program. Compile and run output share one terminal.
Choose how reported diagnostics are displayed with
whitelanguage.diagnostics.mode.
wlls resolves imported project and standard-library sources on demand.
Finding wlls
whitelanguage.server.path
WL_PATH/bin/wlls (wlls.exe on Windows)
WL_PATH/tools/wlls/bin/wlls
If wlls is missing, the extension builds the latest tagged release with git and wlc, then installs it under WL_PATH/tools/wlls.
The status bar shows the current wlls state. Click it to restart the server, check for updates, inspect the active version, or open the language-server log.
Development
npm install
npm run check
npm run package