Enhance Zed with Solidity language support, including syntax highlighting and language server features such as diagnostics and more!
- Tree Sitter: tree-sitter-solidity
- Language Server: @nomicfoundation/solidity-language-server
Tip
For the best experience, it is highly recommended to use XY-Zed. This extension has been built on top of the XY-Zed theme, ensuring that all colors are thoughtfully chosen to provide intelligent syntax highlighting.
git clone https://github.com/zarifpour/zed-solidity
If you have the existing extension installed, you need to uninstall it before installing the development version.
- Open
zed: extensions
. - Click
Install Dev Extension
. - Select the
zed-solidity
directory.
As you make changes to the extension, you may need to rebuild it. To do so:
- Open
zed: extensions
. - Click the
Rebuild
button next to the extension.
Contributions are welcome!
To contribute:
- Fork the repo and create a new branch.
- Make changes and test them.
- Submit a pull request with a clear description.
Check open issues for areas needing improvement. Thanks for helping improve Solidity support in Zed!
- @JoranHonig for providing the tree-sitter-solidity repository.
- @meetmangukiya and @tomholford for inspiration with their PRs to the main Zed repo.
Made with 🩵 by Daniel Zarifpour