dotnet/roslyn

Format does not remove unneeded spaces in XML tags

Open

#19.476 aperta il 13 mag 2017

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEBugIDE-Formatterhelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

  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.

Guida contributor