Re:Announcing Rust 1.7
by GolDDranks on Friday March 04, 2016 @03:36AM
(#11222672)
That'd be great to have and I think we'll see one in the future. No idea about the timeframe though.
It's being worked on, but it will be a bumpy road if the compiler simultaneously is going to be made more incremental.
https://github.com/rust-lang/rfcs/pull/1317
Nim does a good job with their IDE support
Agreed, I hope that a good "Language service" API is on the horizon, so that tool authors don't need to reinvent the wheel in order to support parsing, error display, highlighting, completions and so on.
A step in the right direction is the possibility of getting machine-readable (json) error messages from the compiler.
Being able to just call the compiler as a library to produce AST's from source would be very handy, though it would probably complicate the compiler to be able to provide useful output from broken/incomplete source, which is critical for tool use.