Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assume racer is in $PATH #4

Closed
Susurrus opened this issue Mar 29, 2016 · 4 comments
Closed

Assume racer is in $PATH #4

Susurrus opened this issue Mar 29, 2016 · 4 comments

Comments

@Susurrus
Copy link

Part of the installation process for racer is to add ~/.cargo/bin to your path. Now maybe not everyone does that, but if they did racer can just be run without the executable needing to be manually specified. With this and issue #3, gracer is automatically configured as soon as racer is installed.

@isamert
Copy link
Owner

isamert commented Mar 29, 2016

It actually does check ~/.cargo/bin/racer, /usr/bin/racer and /usr/local/bin/racer paths for racer executable. Can you re-check gracer settings in gedit after deleting the gracer's settings file? It should find racer executable automatically.

@isamert
Copy link
Owner

isamert commented Mar 29, 2016

BTW, the settings file is located in ~/.local/share/gedit/plugins/gracer.config

@Susurrus
Copy link
Author

Alright, so I updated gracer to the latest and activated it. The settings were auto-populated to /home/susurrus/.cargo/bin/racer and /home/susurrus/Projects/rust/src for me. But when I type anything in gedit I see on the command line:

Gracer is activated.
<CompletionContext object at 0x7f74200ab798 (GtkSourceCompletionContext at 0x55c97ce512e0)>
thread 'searcher' panicked at 'visit_mac disabled by default', /home/susurrus/.cargo/registry/src/github.com-88ac128001ac3a9a/syntex_syntax-0.24.0/src/visit.rs:106
ERROR:racer: Search thread paniced: Any
Gracer is deactivated.
Gracer is activated.

And if I continue I'll get some other errors sometimes about bogofile containing an un-closed delimiter, which may be legit if there's incomplete code in the file.

@isamert
Copy link
Owner

isamert commented Apr 5, 2016

Sorry for the late response(I have exams and stuff). The output error is something about racer but I really dont know what causes this. AFAIK, incomplete code should not cause errors on racer. Does your code completion works as expected?

@isamert isamert closed this as completed Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants