-
Notifications
You must be signed in to change notification settings - Fork 62
Support cargo workspaces #158
Comments
Hello. |
I'm not sure if this are the issues @John0x was referring to in workspaces. EnvironmentI just swapped to RLS-mode and I run into a few workspace related issues: My workspace looks like this (it is NOT an rust-only workspace):
Behaviorcase 1) When I'm editing some rust file in
case 2) If I switch to
case 3) If I switch to Case 1 and case 2 seem to be triggering the same bug. Case 3 shows the code is fine once it locates the correct The We had a similar issue a year or so ago with the |
@icorderi yeah, that is the same issue I have. |
Is there any way we can help on this? The other Rust VSCode plugin doesn't seem to suffer from the same issue. |
@icorderi there is also issue about this panic in rls repo: rust-lang/rls#263 |
Thanks @oherrala, yea, people seem to be hitting this a lot. I think we are short on manpower, @KalitaAlexey might be a bit overwhelmed, I don't know who else is actively maintaining this with him. So if you can get a PR that would help. @KalitaAlexey, do you think my guesswork on #156 is accurate enough for someone to go dig further and try to fix it? |
@icorderi, |
RLS now supports "Workspace Mode": rust-lang/rls#409 |
What's the state now? |
Any news on this? |
Could anyone familiar with the project give directions as to how to implement that? It's a damn big paper cut to not be able to use RLS in Code with any project using workspaces. |
@nox is there some specific problem you are encountering? I have been happily using workspaces in vscode-rust for quite some time already. |
These days I work on victor, and if I open the project root in Code and, say, introduce a syntax error in a file from the |
Also, when opening the project root, rustfmt integration seems to be broken:
|
Oh I guess the first issue is #287. |
Well, seems like adding a |
Currently vscode-rust does not support cargo workspaces properly.
Have you yet thought about adding support for it?
The text was updated successfully, but these errors were encountered: