-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
External code-workspace file changes not picked up until reload #68351
Comments
(Experimental duplicate detection) |
I was not able to reproduce this on macOS at least. |
@iciclesoft Can you reproduce this with latest vscode insiders? |
@isidorn Yes, I can. The screenshot below shows the difference in the order of the folders between the content of the |
I can reproduce this also on the mac. |
@bpasero The file event does not seem to go through. if I start out of source with --verbose flag. |
@sandy081 I assume you setup custom file watching for the workspace file right? Where is that code? Does it check for changes? |
I think this would have caused by my changes moving away from node based file watching to file service watch. Will investigate further and figure it out. |
Thanks for the fix, I just tested it in the new insiders build and everything seems to be working correctly. I am looking forward to the next release! |
Issue Type: Bug
Changes to the
.code-workspace
file by external sources (extensions/manual edit) are not picked up anymore until VSCode is relaunched. For instance, if you use notepad to add a workspace folder to the.code-workspace
file, VSCode won't show the new workspace folder until the workspace is relaunched in VSCode. This also means that if you then add another workspace folder through VSCode, and save the workspace, the workspace folder added with notepad is removed. Using theRefresh Explorer
button doesn't trigger a re-read of the.code-workspace
file either. This renders the extensionWorkspaceSort
rather useless.VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17134
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
B
andA
.code-workspace
file, changing the order of the folders using notepad or the extensionWorkspaceSort
The text was updated successfully, but these errors were encountered: