【问题标题】:Is there a way to disable custom patterns with a comment in Resharper有没有办法通过 Resharper 中的评论禁用自定义模式
【发布时间】:2014-05-25 08:06:07
【问题描述】:

在 Resharper 中,普通提示可以通过评论禁用

Disable once with comment

按下<ctrl-enter>时上下文菜单上的选项

使用自定义结构搜索模式

http://blog.jetbrains.com/dotnet/2010/08/19/highlighting-custom-patterns-with-resharper/

我找不到这样做的方法。上下文菜单上没有禁用提示的选项。

是否可以使用 cmets 禁用自定义模式?

【问题讨论】:

标签: visual-studio resharper structural-search


【解决方案1】:

只是想告诉你,问题已经解决了。

您现在可以添加一个抑制键(在编辑模式时),然后在评论中使用。

https://blog.jetbrains.com/dotnet/2016/06/20/resharper-ultimate-2016-2-eap-build-4/

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-02-09
    • 1970-01-01
    • 2019-11-26
    • 2019-03-16
    • 1970-01-01
    • 2015-10-28
    相关资源
    最近更新 更多