From 77d0ff371ae316ada226f4165b1204016aa966ec Mon Sep 17 00:00:00 2001 From: Joyce Er Date: Wed, 19 Apr 2023 21:24:31 -0700 Subject: [PATCH] Show breakpoint hint even if there are other line decorations --- .../contrib/debug/browser/breakpointEditorContribution.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts b/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts index 33dbb1b2c4dad..97e8d1a21cf49 100644 --- a/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts +++ b/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts @@ -468,7 +468,8 @@ export class BreakpointEditorContribution implements IBreakpointEditorContributi if (decorations) { for (const { options } of decorations) { const clz = options.glyphMarginClassName; - if (clz && (!clz.includes('codicon-') || clz.includes('codicon-testing-') || clz.includes('codicon-merge-') || clz.includes('codicon-arrow-'))) { + const lane = options.glyphMargin?.position; + if (clz && lane === GlyphMarginLane.Right && (!clz.includes('codicon-') || clz.includes('codicon-testing-') || clz.includes('codicon-merge-') || clz.includes('codicon-arrow-'))) { return false; } }