From 44d7fa8b4fc749f68d12d8894dbeb00e75034791 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Wed, 20 Mar 2024 09:45:18 +1100 Subject: [PATCH] Expose prop to determine if custom prop is used --- extensions/ipynb/src/ipynbMain.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/ipynb/src/ipynbMain.ts b/extensions/ipynb/src/ipynbMain.ts index 1abbe0440802a..889f4c074453f 100644 --- a/extensions/ipynb/src/ipynbMain.ts +++ b/extensions/ipynb/src/ipynbMain.ts @@ -125,6 +125,9 @@ export function activate(context: vscode.ExtensionContext) { return { + get dropCustomMetadata() { + return !useCustomPropertyInMetadata(); + }, exportNotebook: (notebook: vscode.NotebookData): string => { return exportNotebook(notebook, serializer); },