0

我需要 Beyond Compare 4 只比较代码而不是像这样的摘要注释

    /// <summary>
    /// Instancia estática del contenedor.
    /// </summary>
    public static ComponentContainer Instance
    {
        get { return ComponentContainer._instance; }
    }

    /// <summary>
    /// Inicializa la instancia estática del contenedor.
    /// </summary>
    public static void Initialize()
    {
        if (!IsInitialized)
            _instance = new ComponentContainer();
    }

和其他代码:

    /// <summary>
    /// Instancia estática del contenedor xx
    /// </summary>
    public static ComponentContainer Instance
    {
        get { return ComponentContainer._instance; }
    }

    /// <summary>
    /// Inicializa la instancia estática del contenedor.
    /// </summary>
    public static void Initialize()
    {
        if (!IsInitialized)
            _instance = new ComponentContainer();yyyy
    }

这个想法是,只有 Beyond Compare 在yyyy行而不是xx行中显示差异。

4

1 回答 1

0

我找到了。在规则重要性选项卡中,在顶部显示“不重要”的地方,单击加号图标,检查正则表达式并写入:

.*///.*
于 2014-11-19T12:41:22.410 回答