doomemacs/modules/lang/solidity
Edmund Milller 01993aa698 Fix solc and solium pathes
The bin files were links to the real thing.
2018-05-18 17:04:43 -05:00
..
config.el Fix solc and solium pathes 2018-05-18 17:04:43 -05:00
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