Flix for Visual Studio Code
The official Visual Studio Code extension for the Flix Programming Language
(flix.dev).
Flix is a next-generation reliable, safe, concise, and functional-first
programming language.
Flix aims to have world-class Visual Studio Code support and our extension is
based on the real Flix compiler infrastructure.
Features
Installation
- Install the Flix Visual Studio Code extension.
- The extension will automatically download the Flix compiler.
Advanced Installation:
Building from the source
# install vsce
npm install -g @vscode/vsce
# install dependencies
npm install
# build and package extension
vsce package
# install extension
code --install-extension flix-$VERSION.vsix
Nightly compiler
- Upon startup, the extension with look for a
flix.jar compiler in the project
root and use that if available.
- This can be used to run a nightly (or custom-built) version of the compiler.
Requirements
- Requires Java 21 (or later).
- Ensure that the
java command is on your path.
For Developers
Information about running, debugging, and packaging the extension is available in DEV.md.
| |