Metafacture
Home  |  Getting started  |  Documentation  |  IDE Extensions  |  Blog  |  Playground   

IDE Extensions

Overview

Here you will find different IDE extensions and plugins related to the Metafacture project in order to support working with the framework. At the current state we provide VS Code / Codium Extensions for the Fix language and the Flux language. Both IDE extensions are aiming to support working with Fix and Flux by syntax highlighting, simple auto completion and validation of the Flux/Fix language. As IDE extensions are based on the Language Server Protocol (LSP), extensions and plugins for other IDEs than VS Code / Codium can easily be added in the future.

Setup a VS Code / Codium extension

There are different ways to install extensions for VS Code / Codium.

  1. The first one is to install from a marketplace. If you use VS Code, the default marketplace is Visual Studio Marketplace, for VS Codium it’s Open VSX Registry. All extensions which are presented here are published to both marketplaces. Use the Search Extensions in Marketplace search box to search for metafacture in the Extensions view.

  2. The second way to install is to download a VSIX file and install from it. You can download the latest version of the VSIX files for Fix and Flux. Use the Install from VSIX command in the Extensions view drop-down menu and point to the downloaded VSIX.

Usage

Flux

After installing the IDE extension to VS Code / Codium open a Flux file, for example this one. It should look like this:

Flux editor

If you delete for example a necessary bracket you will see in the Problems section that the extension detects problems with the Flux file:

Flux editor with problems

Fix

After installing the IDE extension to VS Code / Codium open a Flux file, for example this one. It should look like this:

Fix editor

If you remove a closing end you will see in the Problems section that the extension detects the missing end:

Fix editor with problems

GitHub

To report issues, see the code, and contribute to the projects, visit: Fix Repository, Flux Repository.