Skip to content

Repository files navigation

Zed ObjectScript

An ObjectScript extension for Zed to support development for the InterSystems IRIS product.

Conventional Commits

Introduction

This Zed extension uses the tree-sitter-objectscript grammars and the objectscript-lsp crate (local to this repo) to provide syntax highlighting, code injections, and language support for .cls, .mac, .rtn, .inc, .int and .xml files containing ObjectScript. Install the following extensions below to get syntax highlighting for any code injected into objectscript that is sql or html.

The current features supported in the ObjectScript language server are goto_definition, goto_implementation, refactor, and diagnostics. These features are described in detail in the objectscript-lsp/documentation/features folder.

Reporting Issues

Please report issues via GitHub Issues.

Contributing

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.

Development

To develop this extension, see the Developing Extensions section of the Zed docs.

Notes

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.

About

An ObjectScript extension for Zed

Resources

Stars

Watchers

Forks

Contributors

Languages