Search code examples
phpstorm

How to check content of 2 similar file?


Have PhpStorm 2021 functionality to check content of 2 similar files(left and right panel), with lines comparing like in Local History ?

Thank you!


Solution

  • At the moment, the simplest approach I've discovered to compare a project file with a non-project file is to copy the external file to the clipboard and then select "View->Compare with clipboard."

    Shortcut: For Windows -> CTRL+D