-
Notifications
You must be signed in to change notification settings - Fork 12
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
Code completion error #16
Comments
I'm not sure, you'll have to ask the Textmate developers that -- all Textmate bundles use esc for completion. Have you set the RUST_SRC_PATH variable in your textmate preferences? I've been meaning to set up multirust anyway, I'll see if I can reproduce. |
Fair enough. It seems to be Alt+Esc on my system. Yeah, do please let me know how it works for you, with multirust.
|
@alexreg The tab key can't be used for completion because it triggers snippets and of course inserting a tab character. Escape was chosen as the next best for completion, and option-escape is the secondary if two completion commands need to exist simultaneously. |
That’s fair enough, I suppose. Other editors (e.g. Visual Studio) manage to differentiation indentation tabs from tab-completion tabs, but the snippets feature does complicate things.
|
Hi @alexreg, I'm sorry I've taken so long to dig into this. I'm able to get the hanging behavior you describe using only the command line, without textmate... could you take a look at what I'm doing and let me know if you can reproduce what I'm seeing, and if not, what is different between your environment and mine? I have this multirust installed:
I have the rust source in /Users/carolnichols/rust/rust/src and RUST_SRC_PATH set in my terminal env:
I used
I can get some completions from racer on the command line directly using
Then I put your script on my path, with the name
And I can run that and get completions:
As soon as I move your script from script-racer to just racer, however, running
Perhaps the script is calling itself? |
Thanks for the reply, @carols10cents. I just tried this again and completion seems to work fine when I press I'm not getting the hanging behaviour from the command line, although the script on my system is |
Hi @carols10cents. Any update on this? Has the project been abandoned, perhaps? |
Nope, it's not abandoned, I just haven't had time to spend on this lately. Feel free to fork and improve if you want though! |
No worries. I don't have the time either, I'm afraid. But I'd be happy to test updates. 😊 |
I press the shortcut for code completion (by the way, why isn't it something simpler like Tab?) and TextMate freezes up for about 60 seconds, then gives me the following error message:
What's going on here?
NB: my environment consists of a simple script
/usr/local/bin/racer
which contains:This runs fine from the command line.
The text was updated successfully, but these errors were encountered: