zed-toolang
zed-toolang is the Zed editor extension for Toolang .too files. This page
shows what the extension is for, where it lives, and how to use it in Zed.
GitHub: openhat-ai/zed-toolang
Use cases
Use this extension when editing Toolang source in Zed. It provides:
.toofile detection- syntax highlighting
#line comments- bracket pairing for
{},[], and() - indentation support
- outline support
- Markdown highlighting inside fenced Markdown bodies
The extension does not run Toolang programs or install the Toolang CLI. Use the
toolang command for running Toolang workflows.
Install from Zed
Open the Extension Gallery in Zed:
Zed > ExtensionsYou can also use:
ctrl-shift-xSearch for Toolang, install the extension, then open a .too file.
Install from source
If the extension is not available in your Zed Extension Gallery yet, install it from the source repository.
Clone the extension:
git clone https://github.com/openhat-ai/zed-toolang.gitIn Zed, run the zed: install dev extension action and select the cloned
zed-toolang directory. Then open a .too file.
Verify
Create or open a file ending in .too:
use skill openhat/workspace-search
thunk:
instruct:
You are editing a Toolang file in Zed.
user:
Summarize the current workspace.The file should be detected as Toolang and highlighted accordingly.
Troubleshooting
If Zed does not detect the file as Toolang, check that:
- the file name ends in
.too - the Toolang extension is installed and enabled
- Zed has been reloaded after installing the extension
- a different extension is not overriding the file association