Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zarifpour/zed-solidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

54 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’  Solidity Language Support for Zed

Enhance Zed with Solidity language support, including syntax highlighting and language server features such as diagnostics and more!

Features

Solidity (.sol)

Yul (.yul)

  • Syntax highlighting via tree-sitter-yul, including recognition of EVM builtins
  • Code outline, indentation, and bracket matching
  • No LSP support (the Nomic Foundation language server does not support standalone .yul files)

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.


CleanShot 2024-02-28 at 02 40 51 on Zed β€” example sol β€” zed-solidity@2x


πŸ› οΈ Development Setup

1. Clone the repository

git clone https://github.com/zarifpour/zed-solidity

2. Uninstall the existing extension

If you have the existing extension installed, you need to uninstall it before installing the development version.

3. Load the extension

  • Open zed: extensions.
  • Click Install Dev Extension.
  • Select the zed-solidity directory.

4. Rebuild the extension as needed

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.

🎸 Contributing

Contributions are welcome!

To contribute:

  1. Fork the repo and create a new branch.
  2. Make changes and test them.
  3. Submit a pull request with a clear description.

Check open issues for areas needing improvement. Thanks for helping improve Solidity support in Zed!

contrib.rocks

πŸ† Acknowledgments


Made with 🩡 by Daniel Zarifpour

Sponsor this project

  •  

Packages

 
 
 

Contributors