Re:Announcing Rust 1.16
by wst_ on Friday March 17, 2017 @06:56AM
(#13892991)
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.
[ Parent
| on HN ]
You 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/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).
I 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.
I 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...).
Re:Announcing Rust 1.16
by steveklabnik on Friday March 17, 2017 @09:12AM
(#13893634)
I'm not sure what the lower bound is, to be honest. It's not a thing I personally work on.