Compare Two Files

I've started using 3.0 and the 'Compare Two Files' option in the menu seems to always be greyed out.  Is this feature currently disabled, or am I doing something wrong?



Attachment(s):
Screen shot 2011-12-19 at 11.22.35.png
0
4 comments

Hi Booyah,

You have to select 2 files in Project View panel in order to have this option available.

0

Thanks :)

So if I have a second file that is outside the current project, there's no way to compare it with a file in the project (besides temporarily adding it to the project)?

0

Of course you have such possibility: whole 2 approaches:

1) Open that external file in text editor and copy whole content into clipboard. Then you can compare currently opened & active file in editor with clipboard (right click in editor and choose "Compare with Clipboard");

2) Just open external fine in PhpStorm (drag & drop should work OK), then find your another file in Project View panel, right click on it (in Project View panel) and use "Compare File with Editor".

0

Cheers Andriy, both methods worked as described!

0

Please sign in to leave a comment.