mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
Enable pasting of image attachments by default for ipynb (#166058)
Fixes https://github.com/microsoft/vscode-jupyter/issues/11987
This commit is contained in:
@@ -85,7 +85,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
|
||||
context.subscriptions.push(notebookImagePasteSetup());
|
||||
|
||||
const enabled = vscode.workspace.getConfiguration('ipynb').get('experimental.pasteImages.enabled', false);
|
||||
const enabled = vscode.workspace.getConfiguration('ipynb').get('pasteImagesAsAttachments.enabled', false);
|
||||
if (enabled) {
|
||||
const cleaner = new AttachmentCleaner();
|
||||
context.subscriptions.push(cleaner);
|
||||
|
||||
Reference in New Issue
Block a user