coc-solidity
coc-solidity copied to clipboard
Solidity language server for coc.nvim
coc-solidity 
coc.nvim extension for solidity. Language server provided by solidity-ls.



solidity-ls has no tolerance. Means that some features will only work if sources are no syntax error.
For example:
// should not work
msg.
^
// should work
msg.;
^
Features
- completion
-
local variables, state variables, functions
-
contracts
-
globally variables and it's members
-
struct members
-
external contract functions
-
-
diagnostics
-
hover documention
-
references
- formatting (by prettier-plugin-solidity)
- rename
- signature help (basic implementation)
- go to references
- go to definition
Install
:CocInstall coc-solidity
Make sure you have installed solc.
Todo
- [ ] code actions
- [ ] semantic tokens