Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method completion not working? #68

Open
jackwilsdon opened this issue Apr 10, 2016 · 1 comment
Open

Method completion not working? #68

jackwilsdon opened this issue Apr 10, 2016 · 1 comment

Comments

@jackwilsdon
Copy link

I'm not entirely sure what this type of completion is called, however it doesn't seem to be working (does racer even support it?).

Here's the code I'm using:

fn main() {
  let a: [i32, 3] = [1, 2, 3];

  println!("Length: {}", a.len());
}

If I delete .len() from the println! and type a dot, I'd expect the completion to list all of the methods I can call on the array, however nothing happens.

I can confirm the package is working to some extent, as completion for things like std::[anything] works.

Here are the versions of rustc, cargo and racer I am running:

rustc 1.8.0-beta.2 (2879d940a 2016-03-22)
cargo 0.9.0-nightly (8fc3fd8 2016-02-29)
racer 1.2.6
racer:
  racerBinPath: "/Users/jack/.cargo/bin/racer"
  rustSrcPath: "/Users/jack/.rust/src/beta/src"

There's no errors in the developer console or anywhere else I can find.

@pmarcelll
Copy link

This is a limitation of racer itself: racer-rust/racer#410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants