dotnet/roslyn

Format does not remove unneeded spaces in XML tags

Open

#19,476 建立於 2017年5月13日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C# (4,257 fork)batch import
Area-IDEBugIDE-Formatterhelp wanted

倉庫指標

Star
 (20,414 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

  1. Autoformat the following:
     /// <summary>
        ///     Pushes the specified evaluation <see cref="IProjectChangeDescription"/> to the underlying 
        ///     <see cref="IWorkspaceProjectContext"/>, indicating if the context is the currently active one.
        /// </summary>
        /// <exception cref="ArgumentNullException">
        ///     <paramref name="version"/> is <see langword="null"/>.
        ///     <param>
        ///         -or-
        ///     </param>
        ///     <paramref name = "projectChange" /> is <see langword="null"/>.
        /// </exception>
        public void PushEvaluationChangesToContext(IComparable version, IProjectChangeDescription projectChange, bool isActiveContext)
        {
          [..]
        }

Expected (notice the whitespace removal within the paramref element):

     /// <summary>
        ///     Pushes the specified evaluation <see cref="IProjectChangeDescription"/> to the underlying 
        ///     <see cref="IWorkspaceProjectContext"/>, indicating if the context is the currently active one.
        /// </summary>
        /// <exception cref="ArgumentNullException">
        ///     <paramref name="version"/> is <see langword="null"/>.
        ///     <param>
        ///         -or-
        ///     </param>
        ///     <paramref name="projectChange" /> is <see langword="null"/>.
        /// </exception>
        public void PushEvaluationChangesToContext(IComparable version, IProjectChangeDescription projectChange, bool isActiveContext)
        {
          [..]
        }

Actual: The whitespace is not removed.

貢獻者指南