Code Cleanup Bug

Thread is closed for posting
2 posts, 0 answers
  1. Neil
    Neil avatar
    34 posts
    Member since:
    Sep 2012

    Posted 11 Nov 2011 Link to this post

    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?
  2. Svetlozar
    Svetlozar avatar
    294 posts

    Posted 15 Nov 2011 Link to this post

    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,
    the Telerik team

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

Back to Top