Skip to content

Commit 2df70ee

Browse files
authored
Fixes microsoft#162042 by removing CodeLens icons from merge editor actions (microsoft#162345)
1 parent 13683b1 commit 2df70ee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class ConflictActionsFactory extends Disposable {
104104
if (!state.conflicting && !state.isInputIncluded(inputNumber)) {
105105
result.push(
106106
!state.isInputIncluded(inputNumber)
107-
? command(localize('accept', "$(pass) Accept {0}", inputData.title), async () => {
107+
? command(localize('accept', "Accept {0}", inputData.title), async () => {
108108
transaction((tx) => {
109109
model.setState(
110110
modifiedBaseRange,
@@ -114,7 +114,7 @@ export class ConflictActionsFactory extends Disposable {
114114
);
115115
});
116116
})
117-
: command(localize('remove', "$(error) Remove {0}", inputData.title), async () => {
117+
: command(localize('remove', "Remove {0}", inputData.title), async () => {
118118
transaction((tx) => {
119119
model.setState(
120120
modifiedBaseRange,
@@ -129,7 +129,7 @@ export class ConflictActionsFactory extends Disposable {
129129
if (modifiedBaseRange.canBeCombined && state.isEmpty) {
130130
result.push(
131131
state.input1 && state.input2
132-
? command(localize('removeBoth', "$(error) Remove Both"), async () => {
132+
? command(localize('removeBoth', "Remove Both"), async () => {
133133
transaction((tx) => {
134134
model.setState(
135135
modifiedBaseRange,
@@ -139,7 +139,7 @@ export class ConflictActionsFactory extends Disposable {
139139
);
140140
});
141141
})
142-
: command(localize('acceptBoth', "$(pass) Accept Both"), async () => {
142+
: command(localize('acceptBoth', "Accept Both"), async () => {
143143
transaction((tx) => {
144144
model.setState(
145145
modifiedBaseRange,
@@ -204,7 +204,7 @@ export class ConflictActionsFactory extends Disposable {
204204

205205
const stateToggles: IContentWidgetAction[] = [];
206206
if (state.input1) {
207-
result.push(command(localize('remove', "$(error) Remove {0}", model.input1.title), async () => {
207+
result.push(command(localize('remove', "Remove {0}", model.input1.title), async () => {
208208
transaction((tx) => {
209209
model.setState(
210210
modifiedBaseRange,
@@ -217,7 +217,7 @@ export class ConflictActionsFactory extends Disposable {
217217
);
218218
}
219219
if (state.input2) {
220-
result.push(command(localize('remove', "$(error) Remove {0}", model.input2.title), async () => {
220+
result.push(command(localize('remove', "Remove {0}", model.input2.title), async () => {
221221
transaction((tx) => {
222222
model.setState(
223223
modifiedBaseRange,
@@ -238,7 +238,7 @@ export class ConflictActionsFactory extends Disposable {
238238

239239
if (state.conflicting) {
240240
result.push(
241-
command(localize('resetToBase', "$(error) Reset to base"), async () => {
241+
command(localize('resetToBase', "Reset to base"), async () => {
242242
transaction((tx) => {
243243
model.setState(
244244
modifiedBaseRange,

0 commit comments

Comments
 (0)