开发者

Can I easily edit code without check out in Visual Studio?

A lot of the times, when I examine code, I like to use intellisense to kind of get a feel for the structure. It's a quick way to know what variables exist and which are in context etc.

However, in Visual Studio 2008, this always results in a check out of TFS. Is it possible to change it so that TFS has to expicitly ask me if I want to check out and if I say no, then I can still edit the file on开发者_Go百科 my workspace.

Or perhaps even better, can TFS automatically detect that a file has got no changes and automatically check in.

I just find that when I check in, I will have all these files which are checked out and half of them have no changes


If you don't save your changes to the code, after you've got "the feeling of the structure", then this may help:

Tools->Options->Source Control->Environment

Change "Editing" drop-down value to "Do nothing". Also, there is a checkbox "Check-in everything when solution or project closing".


I suggest using F12 (go to definition) instead of intellisense. This way you will see all overloads, their arguments, etc without having to check-out any thing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜