qiuxiang / coc-solidity

Solidity language server for coc.nvim
MIT License
48 stars 0 forks source link

definition and reference not found #8

Closed nathan-barry closed 2 years ago

nathan-barry commented 2 years ago

Hey, when I press gd or gr on any solidity file, I get [coc.nvim] definition not found or [coc.nvim] reference not found, even if the definition or reference is in the same file. Gd and gr works on my other language servers like rust. Any idea what the problem could be? Thanks

qiuxiang commented 2 years ago

gd, gr works only code syntax is correct

nathan-barry commented 2 years ago

The code syntax is correct. I'm looking at code of large protocols that have already been deployed

nathan-barry commented 2 years ago

I don't know, sometimes it works on files, other times it doesn't, I don't know the reason why, maybe it could be because my pragma was giving me an error. Anyways it's not an issue for what I'm working on now.