What IDE allows me to view diff as highlight on my code?

EDIT: First and foremost, speaking of code written in C.

Someone sends me the difference for review, and I know that I can take the “before” code, apply diff (patch) to get the suggested “after” code, and open a couple of file folders by a couple of files in (for example, WinMerge, Araxis Merge , etc.) to view the changes.

On the other hand, if I want to stay in my preferred code browser, with syntax highlighting and definitions with the right mouse button, then I no longer have diff.

For prose reviewers, MS-Word, which is similar to a prose writer IDE, allows you to specify the current file in a different version of this file, say “compare”, and instead of giving you two windows, it highlights the changes in the version that you opened.

Does anyone know an IDE that does this for code?

EDIT: In other words, an IDE with a built-in difference viewer? Or, what allows the plug-in of an existing large stand-alone device?

(I bet I could hack an add-on for checking IDE-based code, like Jupiter for Eclipse, to do this, lie and pretend that the patch is a set of comments for viewing the code. But I don't want to lie. I need the source editor code that already believes that “comparison” is an IDE function.)

+3
2
+2

IntelliJ IDEA . . .

0

Source: https://habr.com/ru/post/1723048/


All Articles