RustAutoComplete icon indicating copy to clipboard operation
RustAutoComplete copied to clipboard

Not working on OSX and generate lots of tmp files.

Open ipfans opened this issue 9 years ago • 11 comments

RustAutoComplete v0.8.0 SublimeText 3.0 beta 3083

Snapshot: 2016-01-06 4 45 18

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.

ipfans avatar Jan 06 '16 08:01 ipfans

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.

VoR0220 avatar Jan 20 '16 20:01 VoR0220

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)

ysimonson avatar Mar 12 '16 20:03 ysimonson

I was getting the same issues, probably it needs of racer path into package user settings anyway.

takama avatar Apr 09 '16 17:04 takama

+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.

lunemec avatar May 18 '16 07:05 lunemec

Same issue for me. All is correctly configured...

Kerollmops avatar Jul 01 '16 22:07 Kerollmops

For me, it works on OSX but it does generate lots of temp files. 😉

perlun avatar Sep 22 '16 20:09 perlun

@ysimonson thanks for your comments, it works for me.

idevz avatar Jan 10 '17 14:01 idevz

@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 avatar Mar 29 '17 14:03 sp-1234

@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 avatar Mar 29 '17 15:03 ysimonson

@ysimonson that's fine, but don't expect everyone else to understand it, because it's nowhere labeled as "apple key"

sp-1234 avatar Mar 30 '17 11:03 sp-1234

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!

StefanoChiodino avatar Apr 03 '17 19:04 StefanoChiodino