RustAutoComplete
RustAutoComplete copied to clipboard
Not working on OSX and generate lots of tmp files.
RustAutoComplete v0.8.0
SublimeText 3.0 beta 3083
Snapshot:
It is not show up the completion and generate lots of tmp files in rust src/ directory.
My Config is
{
"racer": "racer",
"search_paths": [
"/path/to/rustc-1.5.0/src"
]
}
racer is already into $PATH, and RUST_SRC_PATH already set.
I got it to work on mine. You're not supposed to set it to the compiler, you're supposed to set it to the src of your Cargo folder (so where your project is). Overall I just set my search path to ~/src/*. However, the temp file generation is very much an irritating nuisance. That definitely needs to be fixed.
I was getting the same issues, but they were fixed once I properly configured it - autocomplete works, and no polluting temp files. At least with the latest version.
Make sure you:
- Have
racer
installed and in yourPATH
- Have the directory to rust compiler's source code properly configured in the plugin's user settings (see the readme)
If that doesn't work, the console might tell you what's up (apple+backtick
)
I was getting the same issues, probably it needs of racer path into package user settings anyway.
+1 I was running into the same issue, I had incorrect tracer PATH, sublime wasn't able to find it although I have correct system $PATH. The path should be a absolute path to the binary, just to be sure. The plugin should let the user know it is not properly configured and do nothing instead of generating tons of tmp files.
Same issue for me. All is correctly configured...
For me, it works on OSX but it does generate lots of temp files. 😉
@ysimonson thanks for your comments, it works for me.
@ysimonson what the hell is apple+backtick
?
upd: by guessing and finding it in menu (View->Show Console) I found that it's Ctrl+backtick
@sp-1234 it should be the command key rather than control key, since this issue is about OS X. I'm accustomed to calling it the apple key, which is its old name.
@ysimonson that's fine, but don't expect everyone else to understand it, because it's nowhere labeled as "apple key"
Console said racer could not be found. I had it set to just racer
, because the folder was in the $PATH
and I can use it from iTerm. So I just put the full path in the settings!