An ObjectScript extension for Zed to support development for the InterSystems IRIS product.
This Zed extension uses the tree-sitter-objectscript grammar to provide syntax highlighting and code injections for .cls
files containing ObjectScript. Since ObjectScripts supports a number of embedded languages, you should install grammars for the following languages otherwise you may see areas that appear to lack syntax coloring.
- SQL
- HTML
- Python
- JavaScript
- CSS
- XML
- Markdown
NOTE: The ObjectScript .cls
syntax supports some sophisticated constructs and as such it can take 15-60 seconds for Zed's WASM machinery to build the parser before syntax coloring becomes available.
Currently this extension only provides syntax coloring support.
Please report issues via GitHub Issues.
Contributions are welcome. Please submit changes via Pull Requests. Our preference is to use Conventional Commits for commit messages in order to keep the summaries terse, but allowing for more detail on the subsequent lines of the commit message.
To develop this extension, see the Developing Extensions section of the Zed docs.
To enable log output for Zed, set RUST_LOG
as follows before starting zed
from the command line:
$env:RUST_LOG = "language,extension=trace"
RUST_LOG = "language,extension=trace"
Cloning and the building a debug Zed with these RUST_LOG
settings gives fairly detailed log output including diagnosing
bad .scm
rules.