vscode-rust
vscode-rust copied to clipboard
Implement support for multi folder workspaces
This is an attempt to support the new multi folder workspaces feature.
I have completely changed my initial approach as described in #349 and instead opted for a far simpler change.
The main change is how CurrentWorkingDirectoryManager.cwd()
works.
I can't say that I am aware of every aspect of this project and unfortunately I did not have the time to test absolutely everything after my changes but simply removing any use of rootPath
and using the new workspaces API seems to be working for me without any problems during my usual, yet simple, workflow.
I the PR has a correct basis please provide feedback to change/correct any mistakes that I may have made.
@KalitaAlexey, did you have time to check the PR?