-
Notifications
You must be signed in to change notification settings - Fork 279
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
include!() support #191
Comments
Does capnpc-rust write the addressbook generated source anywhere? Racer currently needs the source code to do completions / find definitions at the moment |
It does, and this may be the tricky part because it relies on an OUT_DIR env var supplied by rustc. For example, on my system the source file winds up here: The include!() to find the file is: |
This enhancement would also be great for working with gl-rs (which does something similar with |
Probably related to #693 Have the same problem with vulkan_rs |
It would be great thing for those who use https://github.com/rust-lang-nursery/rust-bindgen and construction like:
|
I don't think supporting |
But what about this particular case:
? It is recommended way for code generation according to official cargo docs, is it hard to match such code with regexp and look for last modified file in: I suppose this heuristics will close 90% of code generation use cases. I mean do not handle macroses at all just match string |
@Dushistov |
Great! Thank you. |
any update? thanks. |
Hi, is anyone working on this, because I don't want to duplicate effort. |
Hello,
It would be great to have racer work with capn proto generated Rust code.
I think this is an include!() problem. You can test this for yourself like this:
The text was updated successfully, but these errors were encountered: