Solidity language server for coc.nvim
Last updated Jul 29, 2025
50
Stars
0
Forks
3
Issues
0
Stars/day
Attention Score
5
Language breakdown
No language data available.
โธ Files
click to expand
README
[npm]: https://www.npmjs.com/package/coc-solidity [npm-badge]: https://img.shields.io/npm/v/coc-solidity.svg
coc-solidity [![npm-badge]][npm]
coc.nvim extension for solidity. Language server provided by solidity-ls.



This language server has no error 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
- 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.
foundry supports
run forge remappings > remappings.txt in project root.
Todo
- [ ] code actions
- [ ] semantic tokens
๐ More in this category