dotnet/roslyn

Format does not remove unneeded spaces in XML tags

Open

#19 476 ouverte le 13 mai 2017

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)C# (4 257 forks)batch import
Area-IDEBugIDE-Formatterhelp wanted

Métriques du dépôt

Stars
 (20 414 stars)
Métriques de merge PR
 (Merge moyen 6j 17h) (256 PRs mergées en 30 j)

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.

Guide contributeur