From 6ab9dd8ff1d90eaee221e41eb660aa50da2197af Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 18 Mar 2024 10:57:25 -0700 Subject: [PATCH] Suppress extension diagnostics in code blocks (#207754) May re-enable in the future. Also we can't simply disable the markers feature as this also turns off a number of useful markers for stuff like go to def --- src/vs/platform/markers/common/markerService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/platform/markers/common/markerService.ts b/src/vs/platform/markers/common/markerService.ts index 0f2ef2566fc..5294be4aefa 100644 --- a/src/vs/platform/markers/common/markerService.ts +++ b/src/vs/platform/markers/common/markerService.ts @@ -12,7 +12,7 @@ import { Schemas } from 'vs/base/common/network'; import { URI } from 'vs/base/common/uri'; import { IMarker, IMarkerData, IMarkerService, IResourceMarker, MarkerSeverity, MarkerStatistics } from './markers'; -export const unsupportedSchemas = new Set([Schemas.inMemory, Schemas.vscodeSourceControl, Schemas.walkThrough, Schemas.walkThroughSnippet]); +export const unsupportedSchemas = new Set([Schemas.inMemory, Schemas.vscodeSourceControl, Schemas.walkThrough, Schemas.walkThroughSnippet, Schemas.vscodeChatCodeBlock]); class DoubleResourceMap {