Skip to content

Type to search extensions

TLA+

v0.2.0

TLA+ and PlusCal syntax support for Zed.

Updated 7 months ago
200 downloads 6 stars Repository ↗

TLA+ for Zed

TLA+ and PlusCal syntax support for the Zed editor.

Features

TLA+ / PlusCal (.tla)

  • Syntax highlighting for TLA+ keywords, PlusCal constructs, operators, literals, and comments
  • Code outline and symbol navigation (modules, operators, functions, theorems, assumptions, constants, variables, PlusCal algorithms/processes/procedures/macros)
  • Bracket matching and auto-closing ((), [], {}, << >>, (* *), "")
  • Indentation support and code folding
  • Line comments (\\*) and block comments ((* *))

TLC Configuration (.cfg)

  • Syntax highlighting for all TLC directives, constant definitions, literals, and comments
  • Line comments (\\*)

Installation

  1. Open Zed
  2. Open the extensions panel (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "TLA+"
  4. Click Install

Grammars

This extension uses two tree-sitter grammars:

License

BSD 3-Clause

ZedExt An unofficial community project. Not affiliated with Zed Industries.

Data from Zed’s extension registry and GitHub · updated