Motoko and Candid language support for Zed, allowing you to develop applications easily for Internet Computer.
- Tree-sitter for Motoko: christoph-dfinity/tree-sitter-motoko
- Tree-sitter for Candid: perforate-org/tree-sitter-candid
- Language Server for Motoko: A part of dfinity/vscode-motoko
For certain tasks:
The Motoko formatter is based on Prettier, and you can configure it for each project using .prettierrc.
For detailed configuration instructions, please refer to dfinity/prettier-plugin-motoko.
Additionally, you can disable the formatter using Zed's settings:
To develop this extension, see the Developing Extensions section of the Zed docs.
To contribute to this extension:
- Clone the repository
- Make your changes
- Test with Zed
- Submit a pull request
This project is licensed under either of Apache License, Version 2.0 or MIT License at your option.
{ "lsp": { "motoko-language-server": { "initialization_options": { "formatter": "none" // "prettier" by default } } } }