Reformat adds `1 for generic types

When doing a reformat of the whole file, Resharper introduces `1 into
doc comments. Example: /// An to enumerate ... becomes /// An to enumerate ... becomes /// An ]]> to enumerate ...
and so on.

It looks like it does this only in the first occurrence in a file.

4 comments
Comment actions Permalink

Submited:

http://www.intellij.net/tracker/resharper/viewSCR?publicId=17999

Thanks.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

When doing a reformat of the whole file, Resharper introduces `1 into
<see ..> doc comments.
Example:
/// An <see cref="IEnumerable"/> to enumerate ...
becomes
/// An <see cref="IEnumerable`1"/> to enumerate ...
becomes
/// An <see cref="IEnumerable`1`1"/> to enumerate ...
and so on.
It looks like it does this only in the first occurrence in a file.



0
Comment actions Permalink

Cannot reproduce this issue.
Please could you post the complete file text where this problem occurs?

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Andreas Hofer" <ejp10@gmx.ch> wrote in message
news:dsknir$p4u$1@is.intellij.net...

When doing a reformat of the whole file, Resharper introduces `1 into
<see ..> doc comments.
Example:
/// An <see cref="IEnumerable"/> to enumerate ...
becomes
/// An <see cref="IEnumerable`1"/> to enumerate ...
becomes
/// An <see cref="IEnumerable`1`1"/> to enumerate ...
and so on.

>

It looks like it does this only in the first occurrence in a file.



0
Comment actions Permalink

Thanks for looking into this.

Sorry I cannot give out the code, but here is an example.

using System.Collections.Generic;

namespace Test
{
public class Class1
{
/// /// /// public IEnumerable]]> Yxx()
{
yield break;
}
}
}

Now type Ctrl-Alt-F, check the "Optimize using directives" checkbox and
click Ok.


Eugene Pasynkov (JetBrains) schrieb:

Cannot reproduce this issue.
Please could you post the complete file text where this problem occurs?

0
Comment actions Permalink

Thank you. Fixed

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Andreas Hofer" <ejp10@gmx.ch> wrote in message
news:dt46hg$oua$1@is.intellij.net...

Thanks for looking into this.

>

Sorry I cannot give out the code, but here is an example.

>

using System.Collections.Generic;

>

namespace Test
{
public class Class1
{
/// <summary>
/// <see cref="IEnumerable"/>
/// </summary>
public IEnumerable<int> Yxx()
{
yield break;
}
}
}

>

Now type Ctrl-Alt-F, check the "Optimize using directives" checkbox and
click Ok.

>
>

Eugene Pasynkov (JetBrains) schrieb:

>> Cannot reproduce this issue.
>> Please could you post the complete file text where this problem occurs?
>>


0

Please sign in to leave a comment.