StyleCop Visual Studio 片段
我正在寻找一些 Visual Studio 片段来实现样式警察规则。
例如,当 style cop 返回一个错误,指出我的代码需要文档标头时,拥有一个为我创建此标头的代码片段会很有用。
有谁有任何实施 stylecop 规则解析的片段吗?
I'm looking for some Visual Studio snippets for implementing style cop rules.
For instance when style cop returns an error saying my code needs a documentation header it would be useful to have a snippet that creates this header for me.
Has anyone got any snippets for implementing resolution to stylecop rules?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我使用 GhostDoc 作为您在示例中引用的标题注释。它工作完美。 GhostDoc
I use GhostDoc for the header comments that you are referring to in your example. It works flawlessly. GhostDoc
这是自动解决 stylecop 错误的最佳方法: http://www.codeplex.com/StyleCopForReSharper
显然,你需要重新磨刀
This is the best way to automatically resolve stylecop errors: http://www.codeplex.com/StyleCopForReSharper
You'll need resharper, obviously
嗯...
就文档标题而言,尝试在声明之前的行中键入 /// 。
Well...
In terms of documentation header try typing /// on the line preceeding a declaration.