How to keep change history while renaming files in Visual Studio using Perforce

前端 未结 4 545
春和景丽
春和景丽 2020-12-11 07:21

I know there are already several questions about renaming files by using a version control system. But I did not found a satisfactory answer to the special version control s

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-11 07:32

    You can save yourself a step in that process by setting up an external tool in VS (Tools->External Tools) to open perforce to the document you have open. Not ideal, but closer to what you want.

    Command: p4v.exe
    Arguments: -s $(ItemPath)
    Initial Directory: $(ItemDir)
    

提交回复
热议问题