dotnet/roslyn

Format does not remove unneeded spaces in XML tags

Open

#19,476 opened on May 13, 2017

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-IDEBugIDE-Formatterhelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

  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.

Contributor guide