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

JC 2010.3.1215.0 messes up on reformting

4 Answers 29 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.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 18 Dec 2010, 03:35 PM
Have a look at ss1.jpg. This is an extract from my code in VS2008.

SS2.jpg shows the code before JC gets it's hands on it but after I've collapsed the outlining in VS.

SS3.jpg shows the same code after reformatting using JC /then/ collaping the outlining.

This only seems to be happening with the /fields/ in the code; everything else seems to be OK.

-- 
Stuart

4 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 21 Dec 2010, 10:56 AM
Quite in here, isn't it?
0
Stuart Hemming
Top achievements
Rank 2
answered on 21 Dec 2010, 11:01 AM
I discovered a little development on this this morning that makes this a little more serious.

Once you've been through the steps described in my original post, it is mandatory that you fix the broken formatting before attempting to reformat your document otherwise reformatting will completely detach the xml documentation comments are relocate them at the bottom of the file!

Bad JustCode! Naughty JustCode!

--
Stuart 
0
Accepted
Ivo Bratoev
Telerik team
answered on 23 Dec 2010, 03:25 PM
Hi Stuart Hemming,

I investigated the issues and it seems they are all caused by a bug in the JustCode Formatter Ordering feature. As a workaround you can disable the Ordering from the JustCode Code Style options. The bug is scheduled for fixing for the next release. We will try to include the fix in one of the first upcoming internal builds.
I apologize for any inconvenience caused!

Kind regards,
Ivo Bratoev
the Telerik team
Browse the videos here>> to help you get started with JustCode
0
Stuart Hemming
Top achievements
Rank 2
answered on 24 Dec 2010, 10:28 AM
Ivo,

Thanks for the update. We monitor the internal builds, so I'll keep an eye out for this fix.

-- 
Stuart 
Tags
General Discussions
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Ivo Bratoev
Telerik team
Share this question
or