.. | ||
config.el | ||
doctor.el | ||
packages.el | ||
README.org |
:lang solidity
This module adds Solidity support through solidity-mode
- Syntax-checking (
flycheck
) - Code completion (
[[https://github.com/ssmolkin1/company-solidity][company-solidity]]
) - Gas estimation(
C-c C-g
)
Install
There are two options for linters.
Solc
npm install -g solc
Solium
npm install -g solium
By default solium looks for .soliumrc.json
in the project directory, but you can set it to your own .soliumrc.json
with this in your private doom config.el
(setq flycheck-solidity-solium-soliumrcfile "/$HOME/.soliumrc.json")
They can be chained together so it's recommended you use both. Solc is ran first, and then Solium if Solc doesn't catch any errors.
TODO
- Snippets