This is a migrated thread and some comments may be shown as answers.

Code Cleanup Bug

1 Answer 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Neil
Top achievements
Rank 1
Neil asked on 11 Nov 2011, 05:06 PM
Not sure if this is limited to the internal release just put out as I haven't done a code cleanup in a while...

In MVC razor controllers, when I do a code cleanup some of the methods will have their documentation above the method not travel with the method when the cleanup process moves the method to a different location. Anyone else see it?

1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 15 Nov 2011, 06:00 PM
Hello Neil,

I believe you have formatter reordering turned on (JustCode Options - Code Style - C# - Ordering - Reorder code elements when formatting) and you do formatting with the cleaner. We have some problems with determining which comment to which construct belongs. In that case we don't move the documentation with the member. This is a known issue and we will fix it.

Sorry for the inconvenience!

All the best,
Svetlozar
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Neil
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Share this question
or