jiller / agentsmithplugin

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

List gets cleared by Reflow and Retag action #194

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Comment with <list> and some <item>´s
2. Reflow and Retag

What is the expected behavior? What do you see instead?
I would expect that my comment gets reflown (also indented)
but all <item>´s are empty after this.
I used this to reformat the Annotations.cs that R# 8 generated.
Example is the comment of ContractAnnotationAttribute.

What version of ReSharper, Visual Studio and Windows do you use?
Windows 7 Professional
VisualStudio 2012 SP3
ReSharper 8

Please provide any additional information below.

Original issue reported on code.google.com by FreTerst...@gmail.com on 30 Jul 2013 at 12:56

GoogleCodeExporter commented 8 years ago

Original comment by nebri...@gmail.com on 30 Jul 2013 at 3:13

GoogleCodeExporter commented 8 years ago
please note that for simple reflow and intend you can use the "reflow" command. 
the issue seems to be attached to the retag.

Original comment by nebri...@gmail.com on 30 Jul 2013 at 4:10

GoogleCodeExporter commented 8 years ago
I tried that but reflow will not indent my coments.

Original comment by FreTerst...@gmail.com on 30 Jul 2013 at 4:11

GoogleCodeExporter commented 8 years ago
ok
the main issues are that the list and item tags are used as unescaped html tags 
and agentsmith tries to parse them conform to how xml doc item tags have to 
look like. that's why they are empty.
I will change it so that it accepts them.

Original comment by nebri...@gmail.com on 30 Jul 2013 at 4:36