StyleCop For Resharper - 它去哪儿了
我是 resharper 的忠实粉丝,不久前曾经使用过 resharper 插件的 stylecop。 我今天想再次使用它,但是 stylecop for resharper codeplex 网站说 stylecop for resharper 现在已集成到 stylecop 中。
所以我安装了 stylecop (4.6),但我的 resharper (5.1) 似乎没有变化。 我特别喜欢使用 resharper 包的 stylecop 中包含的代码格式设置(我认为该文件是“StyleCopCodeStyle.xml”,可以在 resharper 选项中使用它来设置代码格式和清理行为) - 这个 xml 文件现在已经消失了。
我是不是错过了什么。关于这种 stylecop/resharper 婚姻的疑问为零,我对自己实际得到的一无所知,
有人能解释一下吗?
Im a great fan of resharper, and used to use the stylecop for resharper plugin a while back.
I wanted to use it again today but the stylecop for resharper codeplex site says that stylecop for resharper is now integrated into stylecop.
So I installed stylecop (4.6), but my resharper (5.1) appears to be unchanged.
I particularly liked using the code formatting settings that were included in the stylecop for resharper package (I think the file was 'StyleCopCodeStyle.xml', which could be used in the resharper options to set the code formatting and cleanup behaviour) - this xml file is now gone.
Am I missing something. Theres zero doumentation about this stylecop/resharper marriage, and I clueless as to what I am actually getting
Can anyone shed some light on this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只是 ReSharper 9 的更新:
安装 ReSharper & StyleCop 一起执行以下步骤:
注意:可能需要将安装文件移动到与 C: 不同的目录中,否则如果用户没有管理权限,他们将无法抑制规则。
Just an update for ReSharper 9:
To install ReSharper & StyleCop together follow these steps:
NOTE: It might be required to move the install files into a different directory from C: because otherwise if the user does not have administration rights they will not be able to supress rules.
在 StyleCop 项目主页上,非常明确地指出 StyleCop 4.5 是与 Resharper 5.1 兼容的版本。
On the StyleCop project home page, it is quite clearly states that StyleCop 4.5 is the version that is compatible with Resharper 5.1.