Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 637bb6e

Browse files
committed
Add note about disabling red foreground in IJ
1 parent 316ba30 commit 637bb6e

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs-sources/usage/output.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ import com.softwaremill.diffx.generic.auto._
88
`diffx` does its best to show the difference in the most readable way, but obviously the default configuration won't
99
cover all the use-cases. Because of that, there are few ways how you can modify its output.
1010

11+
## intellij idea
12+
13+
If you are running tests using **IntelliJ IDEA**'s test runner, you will want
14+
to turn off the red text coloring it uses for test failure outputs because
15+
it interferes with difflicious' color outputs.
16+
17+
In <b>File | Settings | Editor | Color Scheme | Console Colors | Console | Error Output</b>, uncheck the red foreground color.
18+
(Solution provided by Jacob Wang @jatcwang)
19+
1120
## colors & signs
1221

1322
I found it confusing to use the terms `expected`/`actual` as there seems to be no golden rule whether to keep expected on the right side or on the left side.

generated-docs/out/usage/output.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
`diffx` does its best to show the difference in the most readable way, but obviously the default configuration won't
55
cover all the use-cases. Because of that, there are few ways how you can modify its output.
66

7+
## intellij idea
8+
9+
If you are running tests using **IntelliJ IDEA**'s test runner, you will want
10+
to turn off the red text coloring it uses for test failure outputs because
11+
it interferes with difflicious' color outputs.
12+
13+
In <b>File | Settings | Editor | Color Scheme | Console Colors | Console | Error Output</b>, uncheck the red foreground color.
14+
(Solution provided by Jacob Wang @jatcwang)
15+
716
## colors & signs
817

918
I found it confusing to use the terms `expected`/`actual` as there seems to be no golden rule whether to keep expected on the right side or on the left side.

0 commit comments

Comments
 (0)