-
Notifications
You must be signed in to change notification settings - Fork 20
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
auto_complete_triggers not working #41
Comments
This is working correctly for me on linux, there are a few things you may want to try: First, are there any obvious errors in the sublime text console? It can be shown from View->Show Console, and it will contain the output of any failed Second, just to make sure, did you install the source? This might be obvious, but rustup no longer installs source files and std docs by default, it will just download the binaries to save on network bandwidth and storage space. Third, I guess, what racer version are you running? It's working for me with version 2.0.6, if you have an earlier version than that you may want to uninstall/reinstall with cargo install to update. |
@daboross just check all three and everything is working racer isn't giving any errors, rust src is installed and I have the same racer version installed. What does your user config look by the way? |
{
// The full path to the racer binary. If racer is already
// in your system path, then this default will be fine.
"racer": "racer",
// A list of search paths. This should generally just
// be the path to the rust compiler src/ directory.
"search_paths": [
"/home/daboross/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/"
]
} This is my config, it seems to be working alright. using |
@daboross when I type something like this ill get the pop up showing String as an option however I want to be able to type something like this and have all possible options for that to pop up is there a way to do this? |
Bump |
Sorry I didn't reply to this - I completely thought that I'd put another message here... @luisfernrg For me, RustAutoComplete does work like that. Right now I have This... might just be an upgrade to racer though? I mean, I'm honestly not sure whether this worked with previous versions of racer or not. In any case, it does work the way you describe on my machine currently with the latest racer version. Edit: My current config is: {
// The full path to the racer binary. If racer is already
// in your system path, then this default will be fine.
"racer": "racer",
// A list of search paths. This should generally just
// be the path to the rust compiler src/ directory.
"search_paths": [
"/home/daboross/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/"
]
} Edit: one other thing I forgot to mention... I'm using Sublime Text 3 for this - is there any possibility you're trying with ST2, and there's a difference there? |
I'm on Linux, Arch Linux to be more specific. Racer 2.0.12, Rust 1.21.0. |
hm, that's strange - I mean, I'm tried this on both Gentoo and Ubuntu 17.10, and it's worked fine for me. You're both using RustAutoComplete v0.9.0 installed via Package Control, right? (I checked via action "List Packages") Does running
|
|
Yea I'm using v0.9.0 |
Well, hm. I can't think of anything else that could be the problem. If Hopefully if anyone with more knowledge of the plugin sees this, the information gathered can at least help a bit. |
This is my config file
every time I writing something
I get no hints or suggestions. Is there anything wrong in my config file or that i can add/edit to make this work?
The text was updated successfully, but these errors were encountered: