让 Resharper 使用 StyleCop 配置

发布于 2024-07-24 23:22:51 字数 193 浏览 7 评论 0原文

我们的项目已经有 StyleCop 配置。 我正在使用 ReSharper,我希望能够让 R# 使用 StyleCop 设置。

我知道您可以使用 StyleCopForResharper 在 Resharper 中构建设置并将其导出为 StyleCop 配置,但是您可以执行相反的操作并让 Resharper 使用现有的 StyleCop 配置吗?

Our project already has a StyleCop configuration. I am using ReSharper and I would like to be able to have R# use the StyleCop settings.

I know that you can use StyleCopForResharper to build the settings in Resharper and export them as a StyleCop configuration, but can you do the reverse and have Resharper consume the existing StyleCop config?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

怪我太投入 2024-07-31 23:22:51

我不确定这篇文章是否仍然真实。 CodePlex 提供免费的 StyleCop for ReSharper

它使用 StyleCop 程序集,因此它将使用项目文件设置。

I am not sure is this post still actual. There is free StyleCop for ReSharper at CodePlex.

It uses StyleCop assembly so it will use project file settings.

菊凝晚露 2024-07-31 23:22:51

我不知道有什么方法可以做到这一点,但 R# 可以布局您的成员/属性/方法等以符合 StyleCop。 查看我的博客文章 http: //stevedunns.blogspot.com/2009/03/halt-this-is-stylecop-you-are-in.html

HTH。

史蒂夫

I don't know of any way to do this, but it is possible for R# to layout your members/properties/methods etc. to comply with StyleCop. Check out my blog post at http://stevedunns.blogspot.com/2009/03/halt-this-is-stylecop-you-are-in.html.

HTH.

Steve

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文