← All extensions

FHIR Shorthand

v0.1.0 · by Sergej Suskov · added 3 November 2026

FHIR Shorthand (FSH) language support for Zed: syntax highlighting, bracket matching, and code outline for .fsh files.

Languages

How to install

With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.

You can also open the Extensions panel in the app and search for FHIR Shorthand. The extension's id is fhir-shorthand.

Don't have Forge Super yet? Download it here.

README

From the extension's repository, written by its authors and not by Mentenaz. See the source.

FHIR Shorthand for Zed

A Zed extension that adds language support for FHIR Shorthand (FSH) — the domain-specific language for authoring HL7® FHIR® profiles, extensions, value sets, and other Implementation Guide artifacts.

Features

  • Syntax highlighting for .fsh files
  • Code outline (Profiles, Extensions, Instances, ValueSets, CodeSystems, …)

It is a grammar-only extension: highlighting and outline come from a purpose-built Tree-sitter grammar — a port of SUSHI's official ANTLR grammar for FSH 3.0.0. There is no language server yet, so live diagnostics and completion are not provided — run SUSHI (fsh-sushi) for compilation and error checking.

Install (development)

  1. Open Zed.
  2. Run zed: install dev extension from the command palette and select this directory.
  3. Open a .fsh file (e.g. examples/patient.fsh).

Zed downloads and compiles the Tree-sitter grammar on install. Edits to the .scm query files are picked up after zed: reload extensions.

License

MIT © 2026 Sergej Suskov