Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Autocomplete does not work for references #649

Open
saschanaz opened this issue Aug 17, 2019 · 3 comments
Open

Autocomplete does not work for references #649

saschanaz opened this issue Aug 17, 2019 · 3 comments

Comments

@saschanaz
Copy link

fn main() {
  let strings = vec![String::from("abc"), String::from("bcd")];
  let s = &strings[0];
  s. // no autocomplete
}
@lihz6
Copy link

lihz6 commented Oct 14, 2019

Autocomplete does not work for implemented traits methods, auto implemented traits methods and blanket implemented traits methods. For example rand::thread_rng()., no gen_range pop up.

@fikriauliya
Copy link

@ngolin would you like to elaborate on why so? Is it WIP or it can't be implemented at all due to some technical problems?

@lihz6
Copy link

lihz6 commented Apr 5, 2020

@fikriauliya rust-analyzer can do that. I'm not working on it.

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

No branches or pull requests

3 participants