mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
parent
9dd6d50d0a
commit
0fa6b06a1d
|
@ -209,5 +209,8 @@
|
||||||
.test-message-inline-content {
|
.test-message-inline-content {
|
||||||
font-family: var(--testMessageDecorationFontFamily);
|
font-family: var(--testMessageDecorationFontFamily);
|
||||||
font-size: var(--testMessageDecorationFontSize);
|
font-size: var(--testMessageDecorationFontSize);
|
||||||
|
}
|
||||||
|
|
||||||
|
.test-message-inline-content-clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -267,7 +267,7 @@ export class TestingDecorationService extends Disposable implements ITestingDeco
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const messageUri = m.type === TestMessageType.Info ? undefined : buildTestUri({
|
const messageUri = buildTestUri({
|
||||||
type: TestUriType.ResultActualOutput,
|
type: TestUriType.ResultActualOutput,
|
||||||
messageIndex: i,
|
messageIndex: i,
|
||||||
taskIndex: taskId,
|
taskIndex: taskId,
|
||||||
|
@ -894,7 +894,7 @@ class TestMessageDecoration implements ITestDecoration {
|
||||||
|
|
||||||
options.after = {
|
options.after = {
|
||||||
content: ' '.repeat(4) + inlineText,
|
content: ' '.repeat(4) + inlineText,
|
||||||
inlineClassName: `test-message-inline-content test-message-inline-content-s${severity} ${this.contentIdClass}`
|
inlineClassName: `test-message-inline-content test-message-inline-content-s${severity} ${this.contentIdClass} ${messageUri ? 'test-message-inline-content-clickable' : ''}`
|
||||||
};
|
};
|
||||||
options.showIfCollapsed = true;
|
options.showIfCollapsed = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue