doomemacs/modules/lang/solidity
2018-05-25 19:06:29 +02:00
..
config.el lang/solidity: conform to Doom conventions 2018-05-25 19:04:01 +02:00
doctor.el lang/solidity: improve binary checks in doctor.el 2018-05-25 19:06:29 +02:00
packages.el Remove Company package 2018-05-18 17:04:37 -05:00
README.org Add Solidity 2018-05-18 17:04:25 -05:00

: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