From bbcc20799f0a786a112ec9cdc82eff0b2a1d1a72 Mon Sep 17 00:00:00 2001 From: Matt Bierner <12821956+mjbvz@users.noreply.github.com> Date: Fri, 15 May 2026 16:22:19 -0700 Subject: [PATCH] Remove old setting to toggle the mermaid markdown tool Instead you can now disable the tool itself, which is more consistent with the rest of our UX --- extensions/mermaid-markdown-features/package.json | 8 +------- extensions/mermaid-markdown-features/package.nls.json | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/extensions/mermaid-markdown-features/package.json b/extensions/mermaid-markdown-features/package.json index 5701da8f092fc..2622ca09f4a6a 100644 --- a/extensions/mermaid-markdown-features/package.json +++ b/extensions/mermaid-markdown-features/package.json @@ -78,12 +78,6 @@ "configuration": { "title": "%config.title%", "properties": { - "mermaid-markdown.enabled": { - "type": "boolean", - "default": true, - "description": "%config.enabled.description%", - "scope": "application" - }, "markdown-mermaid.lightModeTheme": { "order": 0, "type": "string", @@ -205,7 +199,7 @@ "canBeReferencedInPrompt": true, "modelDescription": "Renders a Mermaid diagram from Mermaid.js markup.", "userDescription": "Render a Mermaid.js diagram from markup.", - "when": "config.mermaid-markdown.enabled", + "when": "chatSessionType == local", "inputSchema": { "type": "object", "properties": { diff --git a/extensions/mermaid-markdown-features/package.nls.json b/extensions/mermaid-markdown-features/package.nls.json index b730fb1868dbf..ea7d4adb72f8c 100644 --- a/extensions/mermaid-markdown-features/package.nls.json +++ b/extensions/mermaid-markdown-features/package.nls.json @@ -5,7 +5,6 @@ "command.openInEditor.title": "Open Diagram in Editor", "command.copySource.title": "Copy Diagram Source", "config.title": "Mermaid", - "config.enabled.description": "Enable a tool for Mermaid diagram rendering in chat responses.", "config.markdown-mermaid.lightModeTheme.description": "Default Mermaid theme for light mode.", "config.markdown-mermaid.darkModeTheme.description": "Default Mermaid theme for dark mode.", "config.markdown-mermaid.languages.description": "Default languages in Markdown.",