I have been asked to add a button to our vscode app that deploys any files created by our own internal custom editors built using vscode.customdocument not textdocument.
How do I check a customdocument is dirty, if I call vscode.workspace.textDocument or use vscode.workspace.opentextdocument its always false even if the dirty indicator is showing dirty in the UI.