Closed brakmic closed 8 years ago
Here are my settings:
Hello !
As stated in the readme. https://github.com/edubkendo/atom-racer/blob/master/README.md
1- Ensure you have the Atom package language-rust installed and active.
This is the plugin I mentioned above. I've installed language-rust package and thereafter the racer plugin.
Hum, reread your first post and couldnt see no mention of "language-rust" (not to be confused with our "racer" package. As both are required.
Have you checked the developer console to see if any error arises?
If not, you'll probably have to insert console.log("here") to see where the plugin stops working.
Sorry for the confusion.
There are no errors in the console (developer tools). But there's one interesting fact: when I start to type in a name of a namespace, let's say "std", the code completion window appears for a few milliseconds and disappeares again. The same behavior I couldn't reproduce by typing in commands/macros like "println" etc. Only when I start to type in something that contains a double colon.
Maybe I'm seeing ghosts or assuming totally wrong things but this is the only code completion I can reach so far.
Here's a screenshot. I must correct myself: the code completion disappears only when I type in more than two letters. For example, here I typed in only "st" and not "std". As soon as I type in the "d" the window is gone. It seems the keywords can be code-completed but not macros, namespaces etc.
hum, since you actually see racer's results, this is probably not something from our plugin... Maybe a bug with Autocomplete+ (which is a core package now) ? Our plugin is just providing suggestions for it, it doesnt handle the keystrokes and suggestions display themselves.
There's another behavior: When I type in std:: and then press SPACE for a few times a selection list appears. Well it could be really a bug somewhere else.
There's definitely something wrong on Windows. Completions don't work at all most of the time here, there's no console logging, nothing. On Mac it mostly works fine.
After I've installed racer v1.0 the problem disappeared.
@brakmic or @edubkendo - please close this, since the problem seems to be resolved since long.
Because I use a similar Rust Sublime-plugin I've tried to use this one to see if I could replace Sublime completely with Atom :smile:
My Racer is installed under c:\bin\racer\racer.exe and the Rust sources are located under a separate disk: d:\src\rust\rust-master\src
Also I've executed "apm install racer" directly after the plugin installation.
However, neither the code completion nor F3 seem to be working at all.
There are no other active plugins because I wanted to use Atom for Rust only.