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

Use Normal Property glitch

5 Answers 37 Views
Refactorings
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 14 Aug 2010, 08:41 AM
the use normal property refactoring generates
            get
            {
                return salaries;
            }set
            {
                salaries = value;
            }

shouldnt "set" be on a new line?

5 Answers, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 19 Aug 2010, 01:01 PM
Hello Tommy,

 Sorry for the late response.

I managed to reproduce the behavior you describe only when a certain option was disabled in JustCode Options dialog, namely Code Style -> C# -> General -> Adjust lines on autoformat. When this option is on, formatting works as expected. Is that the same for you? Let us know, and in the meantime we'll consider whether the behavior with this option off is normal.

Keep in touch,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
MiddleTommy
Top achievements
Rank 1
answered on 19 Aug 2010, 04:13 PM
I have AdjustLines on AutoFormat checked; so maybe my problem is a combination of other settings? I have ReOrdering turned on let me turn it off and give it a whirl.
Is there a way I could send all settings I am using to you easily so it will be easier to narrow down these bugs in the future?
0
MiddleTommy
Top achievements
Rank 1
answered on 19 Aug 2010, 04:15 PM
Nope turning off reordering didnt help
Would love it if I could just send you a file with all the settings I have enabled please let me know.
0
MiddleTommy
Top achievements
Rank 1
answered on 19 Aug 2010, 04:17 PM
I turned on General -> Use Visual Studio Indentation Settings
and the problem went away.
0
Kaloyan
Telerik team
answered on 25 Aug 2010, 09:50 AM
Hi Tommy,

 The JustCode settings are stored in %appdata%\JustCode\userConfiguration.xml. You can send that file over so that we can examine your environment setup.

Greetings,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Refactorings
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
MiddleTommy
Top achievements
Rank 1
Share this question
or