coc-solidity

1.4.2 • Public • Published

coc-solidity npm-badge

coc.nvim extension for solidity. Language server provided by solidity-ls.

imageimageimage

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 image image
    • contracts image
    • globally variables and it's members image image
    • struct members image
    • external contract functions image
  • diagnostics image image
  • hover documention image image
  • references image
  • 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

Readme

Keywords

Package Sidebar

Install

npm i coc-solidity

Weekly Downloads

14

Version

1.4.2

License

none

Unpacked Size

8.35 kB

Total Files

4

Last publish

Collaborators

  • 7c00