Inconsistency between single-folder workspace and multi-root workspace #1196
-
I was aware that adding the 1st folder to an empty workspace will not fire any event to trigger the
Since I set My idea was that the "inconsistency" was due to the difference between a "single-folder" workspace and a "multi-root" workspace. But it still introduces some unexpected cases when trying to listen to the changes of the workspace folders. Kindly seek more insights and much appreciated for the advice. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Are you still facing this issue? If yes, I see you have documented the behavior. Where you able to handle the events in such a way that you achieve what you want? Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
When a single-folder workspace turns into a multi-root workspace, we forcefully restart the extension host because some API changes as a matter of that and this was the only way to not break our API.
See microsoft/vscode#69335