ASP源码.NET源码PHP源码JSP源码JAVA源码DELPHI源码PB源码VC源码VB源码Android源码

Perforce 与Source Insight, Visual Studio集成(1/2)

来源:网络整理     时间:2015-12-22     关键词:Visual Studio

本篇文章主要介绍了"Perforce 与Source Insight, Visual Studio集成",主要涉及到Visual Studio方面的内容,对于.NETjrs看球网直播吧_低调看直播体育app软件下载_低调看体育直播感兴趣的同学可以参考一下: 转自:http://shashanzhao.com/archives/837.html1.Perforce 首先需要为perforce设置系统环境变量,以便pe...


转自:http://shashanzhao.com/archives/837.html

1.Perforce

首先需要为perforce设置系统环境变量,以便perforce命令行可以正常使用.

环境变量名
P4CLIENT填写你的workspace的名字,例:code_myname
P4PORT填写perforce服务器地址和端口号,例:172.23.3.3:1666
P4USER填写你的用户名,例:myname
P4DIFF(可选)填写比较工具的路径,例: d:\Programs\BeyondCompare\BCompare.exe,如果使用perforce自带的比较工具就不用设这个环境变量了
P4PASSWD填写登陆的密码,例:password

2.集成至Source Insight

1. Source Insight菜单Options->Custom Commands,

选择以下各个Command,填写各个Command的Run.

Command:Run:
Check Outp4 edit %f
Undo Check Outp4 revert %f
Sync File to Source Control Projectp4 sync %f
Compare with Currentp4 diff –f %f

其中Compare with Current命令需要自己添加.

点击Add按钮, 填入命名: Compare with Current即可添加一条.

相关图片

相关文章