jtilander / niftyplugins

Visual Studio productivity plugins
MIT License
40 stars 24 forks source link

DiffItem does nothing #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have installed NiftyPerforce on Visual Studio 2008 and when I choose DiffItem 
on a file, nothing happens. What do I need to do for this to work? Is this a 
bug?

Original issue reported on code.google.com by rcdai...@gmail.com on 17 Apr 2012 at 4:51

GoogleCodeExporter commented 9 years ago
First, does the file have a diff? If it doesn't, then nothing will happen.
Second, do you have any custom diff options? If so, there is some logic in 
there to make that work, but it will go to the console pane instead. 

Original comment by jim.tila...@gmail.com on 17 Apr 2012 at 5:11

GoogleCodeExporter commented 9 years ago
In my case I figured out I needed to use "p4 save -s P4DIFF" and make it point 
to a batch file, which runs my custom diff utility (beyond compare 3). However, 
is any special configuration required for just the default p4diff.exe utility 
to be used? Before I did any setup work, a unified diff was printed to the 
output pane in Visual Studio instead of opening up P4DIFF.EXE like I expected.

Original comment by rcdai...@gmail.com on 17 Apr 2012 at 7:25

GoogleCodeExporter commented 9 years ago
I meant "p4 set -s"

Original comment by rcdai...@gmail.com on 17 Apr 2012 at 9:21