Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qiuxiang/coc-solidity
Solidity language server for coc.nvim
https://github.com/qiuxiang/coc-solidity
coc neovim solidity vim
Last synced: 27 days ago
JSON representation
Solidity language server for coc.nvim
- Host: GitHub
- URL: https://github.com/qiuxiang/coc-solidity
- Owner: qiuxiang
- License: mit
- Created: 2022-02-25T10:12:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T08:18:33.000Z (over 1 year ago)
- Last Synced: 2024-10-10T08:58:49.031Z (28 days ago)
- Topics: coc, neovim, solidity, vim
- Language: TypeScript
- Homepage:
- Size: 37.1 KB
- Stars: 49
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
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](https://github.com/qiuxiang/solidity-ls).
This language server has no error tolerance.
Means that some features will only work if sources are no syntax error.For example:
```solidity
// 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](https://github.com/ethereum/solidity/releases/latest).
### foundry supports
run `forge remappings > remappings.txt` in project root.
# Todo
- [ ] code actions
- [ ] semantic tokens