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

This rust file does not belong to a loaded cargo project but is false #17043

Closed
frederikhors opened this issue Apr 10, 2024 · 3 comments
Closed
Assignees
Labels
C-bug Category: bug

Comments

@frederikhors
Copy link

From the latest stable version or the second one, when I open a big project in VSCode and it starts RA I get a message:

This rust file does not belong to a loaded cargo project. It looks like it might belong to the workspace at /c:/project/Cargo.toml, do you want to add it to the linked Projects?

Which is not true since the file belongs to the workspace.

It seems just an error due to the slow time it takes to start.

@frederikhors frederikhors added the C-bug Category: bug label Apr 10, 2024
@frederikhors
Copy link
Author

It happens mostly when VSCode first open file is a very long one (11k LOC and more).

@Veykril
Copy link
Member

Veykril commented Apr 11, 2024

This is known, I'll try to look into it next week (I'm rather busy this week)

@Veykril Veykril self-assigned this Apr 16, 2024
@Veykril
Copy link
Member

Veykril commented Jul 7, 2024

The notification has been disabled for now, the false trigger was mainly us loading the project while the files weren't yet loaded yet cc #17373

@Veykril Veykril closed this as completed Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants