开发者

How i can rollback or know the folder who i move suddenly as mistake?

i am suddenly trying to find out a directory in sollution in Visual studio. and move a folder in another folder a开发者_如何学运维s mistake. what are plugin for that known me or shown me the folder i move as mistake.

any idea to solve this type of issue in Visual studio 2010


If you use VSCommands (available via the extension manager), it prevents this completely - as moving folders is pretty rare. IIRC you need to press ctrl (or something) otherwise no drag happens.

Invaluable (although "Prevent accidental Drag & Drop" is only in the "Pro" version, looking at the comparison sheet - but honestly, it's a good plugin - I recommend it)


A way to prevent this is to use some type of version control such as Mercurial or Git. This way you can rollback your actions or see what changes you've made since your last commit.


If you realize your mistake immediately you can use ctrl+z (undo). Otherwise it may be too late and you will need to manually examine your folders until you find the one that is out of place.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜