Language-sensitive diff

Answered

Sometimes, developers do not create commits that mix whitespace changes with actual code changes, making it very hard to see the actual code changes.

 

Is it possible to add a "diff mode" that is language sensitive?  Concrete example: I do not want to see the following change shown as a diff

```java

foo.bar(a, b);

```

vs.

```java

foo

   .bar(a,

         b);

```

0
1 comment
Avatar
Yaroslav Bedrov

Hello,

It's already possible to ignore whitespace changes in diff view: https://www.jetbrains.com/help/idea/differences-viewer.html

 

0

Please sign in to leave a comment.