Skip to content

Commit 98909e2

Browse files
authored
1 parent 128c499 commit 98909e2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/vs/workbench/contrib/chat/browser/codeBlockPart.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,7 @@
143143
color: var(--vscode-textLink-foreground);
144144
cursor: pointer;
145145
}
146+
147+
.interactive-result-code-block.compare .message A > CODE {
148+
color: var(--vscode-textLink-foreground);
149+
}

src/vs/workbench/contrib/chat/browser/codeBlockPart.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,11 +732,12 @@ export class CodeCompareBlockPart extends Disposable {
732732
const uriLabel = this.labelService.getUriLabel(data.edit.uri, { relative: true, noPrefix: true });
733733

734734
const template = data.edit.state.applied > 1
735-
? localize('chat.edits.N', "Made {0} changes in [[{1}]]", data.edit.state.applied, uriLabel)
736-
: localize('chat.edits.1', "Made 1 change in [[{0}]]", uriLabel);
735+
? localize('chat.edits.N', "Made {0} changes in [[``{1}``]]", data.edit.state.applied, uriLabel)
736+
: localize('chat.edits.1', "Made 1 change in [[``{0}``]]", uriLabel);
737737

738738

739739
const message = renderFormattedText(template, {
740+
renderCodeSegments: true,
740741
actionHandler: {
741742
callback: () => {
742743
this.openerService.open(data.edit.uri, { fromUserGesture: true, allowCommands: false });

0 commit comments

Comments
 (0)