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

Helix doesn't have autocomplete support for locally imported packages in a cargo project #6654

Closed
Red3nzo opened this issue Apr 8, 2023 · 2 comments
Labels
R-duplicate Duplicated issue: please refer to the linked issue

Comments

@Red3nzo
Copy link

Red3nzo commented Apr 8, 2023

While trying to install a local package into another executable I noticed that autocomplete doesn't work for the imported local package. The following is the import process.

[dependencies]
kvm_rs = { path = "../../kvm_rs" }
# Other deps...
use kvm_rs::Providers; // <----- No autocomplete while using this

Of course other added dependencies work with autocomplete but so far any locally installed ones don't, can anyone suggest a workaround?

@Red3nzo
Copy link
Author

Red3nzo commented Apr 8, 2023

Running :lsp-restart seems to have auto-complete working, must have to do it each time I import a new package locally

@the-mikedavis
Copy link
Member

This is #2479. :lsp-restart is a workaround for now but this needs file watching to be fixed in the long-run.

@the-mikedavis the-mikedavis closed this as not planned Won't fix, can't repro, duplicate, stale Apr 8, 2023
@the-mikedavis the-mikedavis added the R-duplicate Duplicated issue: please refer to the linked issue label Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

2 participants