kevins8
02/14/2021, 4:41 PMThe event is emitted before the document is updated in the active text editor. it is also not emitted if the document was already open
i think onDidChangeActiveTextEditor always fires.
this might require more digging into vscode api. one thing we could do for now is split up the folding provider functionality from automatic folding.