Helix

In Editor Configuration: Supported

Code Action On Save: Unsupported

If zls and zig are in your PATH, everything should work out of the box.

To apply in-editor configuration or manually specify the path to zig or zls, open <config_dir>/helix/languages.toml and add the following:

[language-server.zls]
# omit the following line if `zls` is in your PATH
command = "/path/to/zls_executable"
# There are two ways to set config options:
#   - edit your `zls.json` that applies to any editor that uses ZLS
#   - set in-editor config options with the `config.<name>` fields below.
#
# Further information on how to configure ZLS:
# https://zigtools.org/zls/configure/

# omit the following line if `zig` is in your PATH
config.zig_exe_path = "/path/to/zig_executable"

Further information on languages.toml files.

To make sure that Zig and ZLS are set up as expected you should run the Helix health check:

hx --health zig

For more information on the health check results refer to Health check.

Code Actions on save

Helix does not yet support running code actions on save. See helix-editor/helix#1565.