jiller / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

Reflowing an XmlDoc line that ends with a tag can add incorrect <para> #199

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using a max line length of 100
2. Having the following as XML documentation for a method
        /// <summary>
        /// Execute code with the given default scheduler (see ReactiveUI With) and inject the
        /// scheduler as the default <see cref="IScheduler" /> provider, so <see cref="AutoMock" />
        /// will resolve it without using a mocking proxy.
        /// </summary>
3. Notice that the second line ends with <see cref="AutoMock" /> and is exactly 
100 characters.
4. Run a code cleanup on the file with the "Reflow & Retag XML Documentation 
Comments: Yes"

What is the expected behavior? What do you see instead?
I expect that nothing changes, as the XML doc is formatted correctly.
Instead what results is extra <para> tags:

        /// <summary>
        /// <para>
        /// Execute code with the given default scheduler (see ReactiveUI With) and inject the
        /// scheduler as the default <see cref="IScheduler" /> provider, so <see cref="AutoMock" />
        /// </para>
        /// <para>
        /// will resolve it without using a mocking proxy.
        /// </para>
        /// </summary>

What version of ReSharper, Visual Studio and Windows do you use?
ReSharper Platform 6.0.20141219.120158
ReSharper 9.0.20141219.130142
Visual Studio Community 2013 (v 12.0.31101.00 Update 4)
Windows 10 technical preview

Thank you.
Please provide any additional information below.

Original issue reported on code.google.com by dssni...@gmail.com on 12 Apr 2015 at 3:49

GoogleCodeExporter commented 8 years ago

Original comment by nebri...@gmail.com on 27 Apr 2015 at 8:02