imZEDe

Mainframe language support for the Zed editor. Syntax highlighting, snippets, and tree-sitter grammars for JCL, COBOL, REXX, and HLASM.

JCL syntax highlighting in Zed COBOL with embedded DB2 SQL in Zed COBOL with embedded CICS in Zed REXX syntax highlighting in Zed HLASM syntax highlighting in Zed

Supported Languages

Four mainframe languages with full highlighting and snippets

JCL
Job Control Language. JOB, EXEC, DD statements, JES2/JES3 control, procedures, and symbolic parameters
.jcl .prc .proc .cntl
COBOL
IBM Enterprise COBOL with embedded EXEC SQL and EXEC CICS support. 274 keywords
.cbl .cob .cobol .cpy
REXX
TSO/ISPF REXX with built-in functions, ISPF services, and TSO commands
.rexx .rex .rx
HLASM
IBM High Level Assembler. Instructions, macros, and structured programming
.asm .hlasm .mac

Features

Built for mainframe developers moving to modern editors

🎨
ISPF-Style Colors
Familiar color scheme that feels like home for mainframe developers. Keywords, variables, and comments in the colors you expect.
🌳
Tree-sitter Grammars
Fast, accurate parsing with dedicated tree-sitter grammars for each language. No TextMate fallback. Real structural understanding.
Code Snippets
Templates for common patterns: JOB cards, EXEC PGM, DD statements, COBOL divisions, REXX functions, and more.
🔗
EXEC SQL & CICS
COBOL embedded SQL and CICS commands highlighted correctly with language injection support.

Installation

Two ways to get started

Option 1
From Zed Extensions
  1. Open Zed
  2. Press Ctrl+Shift+X
  3. Search for imzed
  4. Click Install
Option 2
From Source
  1. Clone the repository
  2. In Zed, go to Extensions
  3. Click Install Dev Extension
  4. Point to the cloned directory
git clone https://github.com/infomanta/imzed

Tree-sitter Grammars

Each language is powered by a dedicated grammar

License

Free and open source

MIT License

imZEDe is released under the MIT License. You are free to use, modify, and distribute this extension in personal and commercial projects. View full license.

Contact

Questions, feedback, or feature requests