-
-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No code autocomplete #221
Comments
@ovidius72 try to provide more detail taking coc.nvim issue template as a model: https://raw.githubusercontent.com/neoclide/coc.nvim/master/.github/ISSUE_TEMPLATE/bug_report.md. It's hard to have an idea without info. |
Do you test with a single rust file or a project with Cargo.toml ? |
It's a project with cargo.toml file. |
You can test your code with VSCode+rust-analyzer to make sure it works or not. |
thanks @fannheyward It doesn't work in VSCode+ra . The same thing happens. I don't know if it is the wanted behavior but this has nothing to do with coc-rust-analyzer. If it is an issue, it is related to rust-analyzer itself. |
Had the same issue after upgrading the rust-analyzer binary to 2020-04-27. So I manually download and replace the installed binary to https://github.com/rust-analyzer/rust-analyzer/releases/tag/2020-04-20 and now works again. @fannheyward is there an option to let this plugin choose which version of rust-analyzer to install? That would be handy in cases like downgrading to some version specially since rust-analyzer is not yet stable. |
The latest release is 2020-05-04, you can test the new release. |
the problem is here I guess: rust-lang/rust-analyzer#4177 |
I'm trying to replace rls with rust-analyzer. I'm using coc and I've installed the extension coc-rust-analyzer. I've used rust-analyzer from the arch linux aur repository and the one downloaded by the extension but none of theme seems to work for me. There should be something wrong with my setup despite I'v followed the installation guide.
With coc-rls i see this:
![rust-rls](https://user-images.githubusercontent.com/3592928/80631791-8d42b080-8a56-11ea-8974-d5e99202faf0.png)
but with coc-rust-analyzer (the rls extension removed) I only get the diagnostic but no completion suggestions:
I've tried to add these lines to coc-settings.json but with no luck.
Is it supposed to provide auto completion suggestions ?
Is there anything I'm missing in my config ? Thanks.
The text was updated successfully, but these errors were encountered: