dotnet/roslyn

Format does not remove unneeded spaces in XML tags

Open

#19.476 aberto em 13 de mai. de 2017

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C# (4.257 forks)batch import
Area-IDEBugIDE-Formatterhelp wanted

Métricas do repositório

Stars
 (20.414 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 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.

Guia do colaborador