简体   繁体   English

意外编辑文件时禁用Visual Studio 2010中的自动检出

[英]disable auto check out in visual studio 2010 when accidently edited file

Due to accidental key strokes, I end up checking out a lot of files while browing a project in C#. 由于意外的按键敲击,我最终在浏览C#项目时签出了很多文件。 Is it possible to disable check out such that only when I check out the file from perforce explicitly, it allows me to edit? 是否可以禁用检出,以便仅当我从perforce显式检出文件时才允许编辑?

Tools -> Options -> Source Control -> Environment 工具->选项->源代码控制->环境

There see the section Checked-in items. 在那里看到“检入项目”部分。 Under Editing drop down select "Prompt for check out" 在“编辑”下拉列表中,选择“提示签出”

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM