Comments (12)
It can be fixed setting rust-client.rls-name
, but still, I'm leaving issue open because I'm not sure what should be the default, maybe both?
from coc-rls.
Checkout rust-lang/rls#641
from coc-rls.
@chemzqm not sure what's there to help. I have RLS, it's just named rls locally, not rls-preview anymore.
from coc-rls.
You can disable rust-client and use rls
command to start server.
from coc-rls.
Hi @chemzqm, it starts fine, I just need to set rust-client.rls-name
to rls
and all works. Another user that reported to have to set it here: neoclide/coc.nvim#235.
I'm not sure whether the RLS devs flipped and changed names from rls-preview
to just rls
lately. Hence I've left the issue open as suggestion on that.
from coc-rls.
Checkout rls's documentation: https://github.com/rust-lang/rls#note-nightly-only
from coc-rls.
But it is included, I'm using it, that's not the issue.... Anyway, closing.
from coc-rls.
❯❯❯ rustup component add rls-preview rust-analysis rust-src
...
❯❯❯ rustup component list --toolchain nightly
cargo-x86_64-unknown-linux-gnu (default)
clippy-x86_64-unknown-linux-gnu
llvm-tools-preview-x86_64-unknown-linux-gnu
rls-x86_64-unknown-linux-gnu (installed) <<<<<<<< rls, not rls-preview as name anymore
rust-analysis-x86_64-unknown-linux-gnu (installed)
rust-docs-x86_64-unknown-linux-gnu (default)
rust-src (installed)
...
from coc-rls.
This is the recent discussion where renaming of RLS component from "rls-preview" to "rls" is mentioned:
from coc-rls.
It can already be installed with just rls:
rustup component add rls rust-analysis rust-src
The above works, which means "rls-preview" is being phased out. rustup component add rls-preview rust-analysis rust-src
still works, but when installed the component will be named simply "rls".
from coc-rls.
It's fixed, just like rls-vscode did rust-lang/vscode-rust@037807f
from coc-rls.
@chemzqm OK. Looks like I needed to remove <project-dir>/target/rls/
(or just the whole <project-dir>/target/
) from project directory for coc stop offering installation of RLS when it was already installed in the system. The <project-dir>/target/rls
had cached reference to the previous rls-preview
component, and that made coc look up for rls-preview
instead of rls
. After deleting that folder, coc was able to pick rls
by default now. So there's this problem with those project caches.
from coc-rls.
Related Issues (20)
- coc-implementation doesn't work HOT 1
- Nix + macOS makes RLS fail to build HOT 1
- Suppress startup message HOT 3
- CocAction('format') using 2 spaces instead of 4 HOT 6
- Option to not to ask to install RLS? HOT 4
- rls doesnt start under cygwin vim HOT 3
- "Run Test" code lens issues bare "cargo run"
- Go to definition not working for rust stdlib HOT 2
- Fix prefix for coc-settings in the README
- Cant get autocompletion HOT 2
- NeoVim crashing on auto complete HOT 1
- Question: Is rust-analyzer engine supported? HOT 2
- Doesn't install (Timeout) HOT 1
- Conflict with existing keybindings in init.vim HOT 2
- Wondering how to activate this feature?
- Async and detect slow HOT 1
- coc-rls installation/usage without rustup? HOT 2
- how can I set tab width? HOT 1
- How to disable expandtab feature? HOT 1
- The last component of the type is always missing in floating window. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc-rls.