RustAutoComplete: Creates 20+ temp files and doesn't delete them.

I noticed all of these temp files (tmp[random chars]) being created beside my source files. They were multiplying pretty fast. I can see it starting when the autocomplete popup is shown, and the more you type, the more it creates. They aren’t being deleted though. If I close Sublime Text (version 3065) they are still there. Disabling ‘RustAutoComplete’ stops them from being created.

Any ideas on how to remedy this? I do like RustAutoComplete. It works fine except for the this one thing.

About this issue

  • Original URL
  • State: open
  • Created 9 years ago
  • Reactions: 18
  • Comments: 19 (2 by maintainers)

Most upvoted comments

Specifying the full path to racer fixes the issue for me.

I’m running on linux (specifically Kubuntu 14.04.1), but I figured out the problem. I should’ve paid more attention to the Sublime Text console messages. It couldn’t find the racer executable. Even though racer is in my $PATH, I had set the config to {"racer": "racer"}, which I thought would point to my symlink ~/.local/bin/racer, but it wasn’t finding it. I gave it a full path to my symlinked racer executable (/home/cj/.local/bin/racer) and it now works and deletes the tmp* files. I don’t see them being created either though, but that could be because it’s too fast.

So, no racer meant it was creating a bunch of temporary files and not deleting them. I haven’t looked into the internal workings of RustAutoComplete to see why that is.

It is a pain. qq 20151009135746