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

Autocompletion doesn't work for include!()'d files outside of module tree #13711

Open
rlidwka opened this issue Dec 2, 2022 · 0 comments
Open
Labels
A-completion autocompletion A-macro macro expansion A-vfs C-bug Category: bug

Comments

@rlidwka
Copy link

rlidwka commented Dec 2, 2022

Autocompletion doesn't seem to work in VSCode for files included with include!() macro, which are located above its own package's manifest (Cargo.toml).

Simplified example is shown on this screenshot:

image

Real use-case is over here:

https://github.com/godot-rust/gdextension/blob/eaefd45deb12e60d8f7de893e03a0853a8375d7b/godot-core/src/engine.rs#L33-L36

  • vscode 1.73.1
  • rustc 1.63.0 (4b91a6ea7 2022-08-08)
  • rust-analyzer 0.3.1301-standalone (2022-11-27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-completion autocompletion A-macro macro expansion A-vfs C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants