Zed
IWE integrates with Zed editor through an official extension that provides LSP support for markdown files.
Installation
From Zed Extensions
- Open Zed
- Open the Extensions panel (
Cmd+Shift+Xon macOS) - Search for “IWE”
- Click Install
The extension will automatically download the iwes language server binary when first activated.
Manual Installation
If you prefer to manage the binary yourself:
- Install
iwesusing one of the methods from the installation guide - Ensure
iwesis available in your$PATH - Install the IWE extension from Zed Extensions
The extension will use the system iwes binary if available, otherwise it downloads from GitHub releases.
Setup
Enable for Specific Projects
To enable IWE only for your notes directory (not all markdown files), create a .zed/settings.json in your notes root:
{
"lsp": {
"iwe": {
"binary": {
"path": "iwes"
}
}
}
}Initialize IWE
Create an IWE project in your notes directory:
cd ~/notes
iwes initThis creates the .iwe/config.toml configuration file.
Usage
Please refer to the usage guide for a quick reference.
Common Keybindings
| Action | Keybinding |
|---|---|
| Go to definition (follow link) | F12 or Cmd+Click |
| Find references (backlinks) | Shift+F12 |
| Code actions | Cmd+. |
| Format document | Cmd+Shift+I |
| Document symbols (outline) | Cmd+Shift+O |
| Workspace symbols (search) | Cmd+T |
| Rename | F2 |
Code Actions
To use IWE code actions (extract, inline, attach, etc.):
- Place cursor on the target content
- Press
Cmd+.to open code actions menu - Select the desired action
Troubleshooting
Extension Not Working
- Check that the extension is installed and enabled
- Verify that your notes directory has
.iwe/config.toml - Check Zed’s LSP logs for errors
Binary Not Found
If the extension fails to download the binary:
- Install
iwesmanually from installation guide - Ensure it’s in your
$PATH - Restart Zed
Platform Support
The extension supports:
- macOS (Apple Silicon and Intel)
- Linux (x86_64 and aarch64)
Windows support is planned for a future release.