Open ipfans opened 8 years ago
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:
1) Have racer
installed and in your PATH
2) 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!
RustAutoComplete
v0.8.0
SublimeText 3.0 beta 3083Snapshot:
It is not show up the completion and generate lots of tmp files in rust src/ directory.
My Config is
racer is already into $PATH, and RUST_SRC_PATH already set.