[p4] Fwd: Simpler Perforce integration with Visual Studio 2005 / 2008

Ling Lo linglo at gmail.com
Mon Dec 24 08:59:02 PST 2007


We use NiftyPerforce and it is superb.  The only downsides are that it
doesn't appear to be an SCM plug-in for Visual Studio so the VS file
explorer will not display the padlock icon next to the file and the
automagic check-out of a readonly file does not always work so I end
up clicking on the check out button just to doubly make sure.

I've had a tinker with the SCM provider project in the VS SDK and it
appears to be possible, if a bit arduous, to make a custom Perforce
SCM plug-in.  It was interesting to see that VS executes a callback to
the plug-in for each file in the project and I assume this is what
causes the performance problems as the Perforce SCM plug-in then has
to query the server for each and every file even though the API looks
like it would present all the files in one go.  I mocked up an SCM
that displayed padlocks for readonly files and it was lightning fast
and this seems like a decent route to go down until MS gets round to
fixing the callback.

On Dec 7, 2007 11:39 PM, Jim Tilander <jim_perforce at tilander.org> wrote:
> Hm. Wonder if this time the answer goes through? I've had a whole slew
> of responses of mine just dropped, or at least I can never see my own
> responses in the mail list archives. Wonder why?
>
> /j
>
> ---------- Forwarded message ----------
> From: Jim Tilander <jim at tilander.org>
> Date: Dec 7, 2007 2:22 PM
> Subject: Re: [p4] Simpler Perforce integration with Visual Studio 2005 / 2008
> To: Andrew Beatty <abeatty at facegen.com>
> Cc: perforce-user at perforce.com
>
>
> The default plugin to Visual Studio is less than ideal for most
> purposes. I've written a standalone plugin that is faster in most
> instances. You can read about it here:
>
> http://www.tilander.org/aurora/2006/09/niftyperforce.html
>
> and download it from here:
>
> http://code.google.com/p/niftyplugins/
>
> /j
>
>
>
> On Dec 6, 2007 12:54 AM, Andrew Beatty <abeatty at facegen.com> wrote:
> >
> > I've tried using p4scc but the VS SCC API is just not suitable for
> > many reasons that I won't go into here.
> >
> > What I would like is a simple way to checkout, checkin and add C++
> > source files while working in VS, without using the SCC API, just
> > like what has been done with the MS Word plugin in p4ofc.
> >
> > Does anyone know of a macro / VB program to do this ?
> >
> > Thanks,
> > Andrew.
> > _______________________________________________
> > perforce-user mailing list  -  perforce-user at perforce.com
> > http://maillist.perforce.com/mailman/listinfo/perforce-user
> >
>
>
>
> --
> Beware of architect astronauts.
>
>
>
> --
> Beware of architect astronauts.
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>


More information about the perforce-user mailing list