Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Comparing fragments of a single file or parts of two distinct files

In JetBrains' IDEs (PhpStorm) -- is there any way to compare two fragments of a single file or parts of two distinct files?

like image 659
Handsome Nerd Avatar asked Sep 16 '25 10:09

Handsome Nerd


1 Answers

Yes, and it should work for both cases. First select the first text that you want to compare and copy it. Then select the second text, right click and select "compare with clipboard"

like image 189
mickadoo Avatar answered Sep 19 '25 04:09

mickadoo