racer
racer copied to clipboard
Can't get basic autocomplete from crate (non-Git)
So I have this code:
extern crate serde_json;
use serde_json::Value;
fn main() {
let x = Value::Null;
}
with Cargo.toml:
[package]
name = "hello_world"
version = "0.0.1"
[dependencies]
serde = "0.8.0"
serde_json = "0.8"
And I don't seem to get any completion nor find-definition related to serde_json, Value, etc..
Happens with either latest racer from master or from crates.io . Is this case supposed to work? I think it used to work some time ago, but I'm not sure.
Does it work if you specify serde_json with a 3-part version in Cargo.toml?
@TedDriggs I have the csv dependency in Cargo.toml, but racer does not find any completion for it when I ran it through emacs with spacemacs and in terminal.