- TLA+ syntax highlighting
- PlusCal syntax highlighting
This extension currently focuses on editor support for working with TLA+ and PlusCal in Zed. The main functionality available today is syntax highlighting.
- Basic syntac highlighting for
.tlafiles - TLA+ configuration file syntax highlighting
Requires a Tree-sitter grammar for.cfgfiles. See the discussion here. - Language server integration
This depends on support via the Language Server Protocol as described here. - Run the model checker from inside Zed
- Generate LaTeX and PDF output from inside Zed
Search for TLA+ in Zed's extensions view and install the extension.
Clone this repository and install via dev extension.
Open any .tla file in Zed to get TLA+ syntax highlighting.
If you want a more full featured TLA+ development environment today, take a look at TLA+ for Visual Studio Code, which includes:
- syntax highlighting and snippets
- PlusCal translation support
- TLC model checking
- expression evaluation
- LaTeX and PDF generation
- code completion and formatting
This Zed extension aims to enable basic TLA+ editing experience in Zed and may grow toward some of those capabilities over time.
Contributions, bug reports, and suggestions are welcome.
Especially helpful areas include:
- improving the grammar and highlighting queries
- testing against real world TLA+ specifications
- experimenting with Zed language server integration
- exploring support for TLA+
.cfgfiles