4 ms·
When it's out, can we actually get the same responsiveness as, let's say Java? I assume it also depends on the IDE but I would really like to see instant hints
by wst_ 10y ago
When it's out, can we actually get the same responsiveness as, let's say Java? I assume it also depends on the IDE but I would really like to see instant hints during coding session, ex. when I make mistakes.
- steveklabnik 10y agoI'm not sure what the lower bound is, to be honest. It's not a thing I personally work on.
- karan85 10y agoYou can already get instant hints now with VS Code and the Rust Language Server (RLS). It's still in alpha and the initial setup is a bit involved, but it already works very well for me. https://github.com/rust-lang-nursery/rls https://github.com/rust-lang-nursery/rls https://github.com/jonathandturner/rls_vscode https://github.com/jonathandturner/rls_vscode For some reason, code completion via Racer doesn't work yet for me via RLS, so I use the "old" RustyCode extension for that (https://github.com/saviorisdead/RustyCode https://github.com/saviorisdead/RustyCode).
- wst_ 10y agoI am not talking about code completion. I am talking about mistakes. Currently I have to build a project. With new Rust 1.16 I can check, but that's still a separate task that has to be launched manually. Yet, IntelliJ with Java will show you problems instantly, as well as gives you most probable options to solve them.
- karan85 10y agoI wasn't only talking about code completion either - when I make any syntax/type error I get a red squiggly after about a second and hovering shows the compiler error (which often has hints for solving it). Same goes for compiler warnings (e.g. green squigglies for dead code). Feels quite close to IntelliJ already (I use PyCharm...).