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

Racer is well installed, but does not work at atom. #83

Open
hyesun03 opened this issue Mar 18, 2017 · 1 comment
Open

Racer is well installed, but does not work at atom. #83

hyesun03 opened this issue Mar 18, 2017 · 1 comment

Comments

@hyesun03
Copy link

After installing Rust, I have difficulty using the racer at atom.

I'm using mac OS 10.12.3
and my atom version is 1.10.0

racer settings at atom were as follows.
Path to the Racer executable: /Users/hsun/.cargo/bin/racer
Path to the Rust source code directory: /Users/hsun/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src

and set RUST_SRC_PATH in my ~ / .bash_profile as follows.

[...]
export RUST_SRC_PATH=/Users/hsun/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src
[...]

This is my racer version.

$ racer --version
racer 2.0.6

$ racer complete std::io::B
MATCH BufRead,1208,10,/Users/hsun/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/io/mod.rs,Trait,pub trait BufRead: Read
MATCH Bytes,1623,11,/Users/hsun/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/io/mod.rs,Struct,pub struct Bytes<R>
MATCH BufReader,50,11,/Users/hsun/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/io/buffered.rs,Struct,pub struct BufReader<R>
MATCH BufWriter,309,11,/Users/hsun/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/src/libstd/io/buffered.rs,Struct,pub struct BufWriter<W: Write>
@stan-kondrat
Copy link

I have same version of racer, but nightly rust: /Users/stan/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/src/rust/src. For me working properly.

Which version of atom-racer you use?

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