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

add Complete command #15

Closed
wants to merge 5 commits into from
Closed

add Complete command #15

wants to merge 5 commits into from

Conversation

back2mach
Copy link
Contributor

autocomplete support using racer

Installation

  1. Install racer https://github.com/phildawes/racer
  2. clone rust source https://github.com/rust-lang
  3. configure env variable
  4. Option + ESC to trigger autocomplete

2015-10-18 10 32 05

2015-10-18 10 38 03

@infininight
Copy link
Contributor

Can't get around having to set the RUST_SRC_PATH variable but if you provide a locations array with the likely path of racer in requiredCommands you can likely skip the need to set TM_RACER for most everyone. (/usr/local/binand perhaps /opt/local/binif it's installable from MacPorts.)

require_cmd.rb is deprecated, requiredCommands is built into TextMate now.

@back2mach
Copy link
Contributor Author

@infininight Nice idea, a default path will be fine for most of people.

@carols10cents
Copy link
Owner

This is awesome, thank you so much!!!!!!! 🎉 🎈

As @infininight recommended, I removed the deprecated require_cmd.rb and set some default locations (including where cargo install is likely to put binaries by default; racer seems like an ideal candidate to start recommending the use of cargo install soon).

Also added the instructions you provided to the readme (thank you thank you thank you!) and merged it all in!!!!

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

Successfully merging this pull request may close these issues.

None yet

3 participants