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

SFML registry enables completion, github doesn't #507

Open
brandonson opened this issue Feb 6, 2016 · 1 comment
Open

SFML registry enables completion, github doesn't #507

brandonson opened this issue Feb 6, 2016 · 1 comment

Comments

@brandonson
Copy link

Completing for types/functions etc from sfml fails with this:

  [package]
  name = "tribulum"
  version = "0.1.0"

  [dependencies]
  artifact = "*" 
  rand = "*" 

  [dependencies.sfml]
  git = "ssh://[email protected]/jeremyletang/rust-sfml.git"

However, it works with this:

  [package]
  name = "tribulum"
  version = "0.1.0"

  [dependencies]
  artifact = "*" 
  rand = "*" 
  sfml = "*"

Oddly enough, I've tried other github/bitbucket repositories, and they appear to complete correctly. The only thing I can think of is that sfml has a different folder name than the actual crate name (folder is rust-sfml while crate is just sfml). HOWEVER, I've tried with a different repository where the repo name is <cratename>-rs and it worked just fine.

In short, it really looks like it's attached to sfml specifically, but only when using the repo as a dependency rather than the cargo-registry version.

@brandonson
Copy link
Author

Note: It does appear that the github and cargo versions of sfml don't quite match up in terms of API etc. It's possible that something in the newer github versions just doesn't work with racer.

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

1 participant