Skip to content

Huff Language support for IntelliJ IDEs

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

cakevm/intellij-huff-plugin

Repository files navigation

Build Version Downloads Telegram Chat

IntelliJ Huff Plugin

This plugin adds Huff Language support to IntelliJ IDEs. It provides syntax highlighting, references and code inspections.

IDE example

Installation

The plugin is available in the JetBrains Marketplace. You can install it directly from the IDE by searching for "Huff Language". As alternative, you can download the latest release from the releases page and install it manually.

Waiting for huff2

The plugin implements inspections as they should work but not how they are currently handled in huff-rs. For example huff-rs cannot handle the imports in nested files correct. But the inspections work as they should. The plugin is waiting for huff2 to be released to be fully functional.

Acknowledgements

The Lexer, Parser and some code for language and ide classes is from or based on intellij-solidity. Thank you! The foundation for this plugin is the IntelliJ Platform Plugin Template. The icon is taken from vscode-huff. Thanks to the Soldity team for the Antlr lexer and parser definition that helped alot in the beginning.

Licence

This project is dual licensed under the Apache 2.0 or MIT licenses.