提交 be9d8772 编写于 作者: I isidor

Breakpoint tooltip polish

fixes #44407
上级 f392284f
......@@ -540,17 +540,17 @@ export function getBreakpointMessageAndClassName(debugService: IDebugService, te
if (!breakpoint.enabled || !debugService.getModel().areBreakpointsActivated()) {
return {
className: 'debug-breakpoint-disabled-glyph',
message: nls.localize('breakpointDisabledHover', "Disabled Breakpoint"),
message: nls.localize('breakpointDisabledHover', "Disabled breakpoint"),
};
}
const appendMessage = (text: string): string => {
return !(breakpoint instanceof FunctionBreakpoint) && breakpoint.message ? text.concat(breakpoint.message) : text;
return !(breakpoint instanceof FunctionBreakpoint) && breakpoint.message ? text.concat(', ' + breakpoint.message) : text;
};
if (debugActive && !breakpoint.verified) {
return {
className: 'debug-breakpoint-unverified-glyph',
message: appendMessage(nls.localize('breakpointUnverifieddHover', "Unverified Breakpoint")),
message: appendMessage(nls.localize('breakpointUnverifieddHover', "Unverified breakpoint")),
};
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册