在VS 2010中注释代码,而无需更改代码 [英] Annotate code in VS 2010 without changing that code

查看:140
本文介绍了在VS 2010中注释代码,而无需更改代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始一个新工作,并且正在尝试熟悉一个大型的C#解决方案,330多个项目。理想情况下,我想将注释和问题附加到代码段,而无需实际编辑代码本身。



有没有一个工具可以用来注释C#源代码,而无需实际编辑代码本身。理想情况下,我想要一个泡沫类型的评论机制,类似于MS Word在aa文档中显示评论。

解决方案

对于您的需求,您可能会过度杀戮,但是Atlassian的FishEye可以用来完成您以后的内容 - 以源代码审查的形式。



您可以创建多个评论,因为您对代码的理解得到改进。



请参阅 https://www.atlassian .COM /软件/鱼眼/概述。请注意,它位于源控制系统的顶部(它支持Subversion,CVS,Perforce,Git和Mercurial)。即使您的代码不是在其中一个中进行管理,因此为此设置一个代码将是微不足道的。



它也将您的评论与这些其他的在你的团队...,当然,可用于真正的评论!


I have just started a new job, and am trying to familiarise myself with a large C# solution, of 330 odd projects. Ideally I would like to attach comments and questions to pieces of code without actually editing the code itself.

Is there a tool I can use to annotate C# source code without actually editing the code itself. Ideally I would like a 'bubble' type comment mechanism, similar to how MS Word shows comments in a a document.

解决方案

It may well be overkill for your needs, but Atlassian's FishEye can be used to exactly what you're after - in the form of a source code review.

You could create more than one review, as your understanding of the code improves.

See https://www.atlassian.com/software/fisheye/overview. Note that it sits on top of a source control system (it supports Subversion, CVS, Perforce, Git, and Mercurial). Even if your code is not managed in one of these, it would be trivial to set one up for this purpose.

It also as the advantage of integrating your comments with those of other in your team ... and, of course, being usable for real reviews!

这篇关于在VS 2010中注释代码,而无需更改代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆