您的团队如何为 .Net 定制 Stylecop(或许还有其他工具)以获得良好的结果?
我们的团队仍然对它又爱又恨。我希望通过内部投票来结束辩论,决定哪些规则应该被排除以及哪些规则应该被添加。
在此之前,我想询问其他SO用户。为了标准化(但不限制)响应:
- 您当前的 StyleCop 版本是什么?
- 您当前的目标是哪个 .Net 版本?
- 您关闭了哪些默认规则?
- 您启用了哪些非默认规则?
- 您编写了自己的规则吗?请描述一下。
- 你还有其他值得分享的 StyleCop 技巧吗?
- 你用Resharper吗?什么版本?这是物有所值的吗?
- 您是否使用任何其他与 Visual Studio 集成并辅助开发的 .Net / C++ 工具?你的钱花得值吗?
- 您还有什么想补充的吗?
- ...
谢谢你!
Our team is still in a love / hate relationship with it. I am hoping to put an end to the debate by having an internal vote on what rules should be excluded and which rules should be added.
Before doing so, I wanted to ask others SO users. To standardize (but not limit) the responses:
- What is your current StyleCop version?
- What .Net version do you currently target?
- Which default rules did you turn off?
- Which non-default rules have you turned on?
- Have you coded your own rules? Please describe.
- Do you have any other StyleCop tricks worth sharing?
- Do you use Resharper? What version? Is it a good bang for the buck?
- Do you use any other tools for .Net / C++ which integrate with Visual Studio and aid development? Did you get your money's worth?
- Anything else you like to add?
- ...
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
<ExcludeFromStyleCop>
element in your project files(1) 就像披萨配料一样,小组内不可能达成完全一致,但可以达成普遍共识
(1) It's like pizza toppings, there's no way you'll get complete agreement in the group but a general consensus can arise