onDidChangeTextDocument and onDidCloseTextDocument fired when adding/removing workspaces #42666
Labels
api
*as-designed
Described behavior is as designed
workbench-multiroot
Multi-root (multiple folders) issues
Testing #42195
I noticed this because of a bunch of errors from Vim when I'm adding/removing workspaces.
Have this as an extension
And try adding/removing folders using either the UI or the API.
I'm getting
onDidChangeTextDocument
andonDidCloseTextDocument
for/Users/octref/Desktop/test.code-workspace
, which sort of make sense, but I don't think they should apply to the workspace file itself, especially when that file is outside of any active workspaces.However when adding workspaces, I also get
onDidChangeTextDocument
wheree.document.fileName
points to/launch
ande.contentChanges[0].text
looks like this, which is quite unexpected...The text was updated successfully, but these errors were encountered: