On Mon, Nov 18, 2013 at 6:25 PM, Gokcehan Kara <[email protected]> wrote:
> 1) Implement a type under cursor functionality

rustfind (https://github.com/dobkeratops/rustfind) does this and more,
for crates that compile.

> Some more general questions are;
>
> - How feasible is this project with the current state of the compiler?
>

Not very, for the general case. If you want autocompletion as you
type, you currently need to have a fully-compilable crate. Otherwise,
parsing or typechecking or something else will fail and you won't be
able to get any results. rustc is currently very all-or-nothing.  But,
you can get useful information for completion out of an
already-compiling crate, though I'm not sure how much better it would
be than what etags already does.

> - How difficult would it be for a newbie (to both rustc and compilers)?
>

Very, since it would require reworking most of the compiler ;)
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to