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

Why does extract do this to me...

2 Answers 27 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.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 24 Feb 2011, 04:22 PM
It's frustrating :)

Not following my code style, and butts the code up against the left margin instead of tabbed like the rest

(see attached)

2 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 24 Feb 2011, 04:26 PM
I should also note...

1) If the value being used in the extracted method is newDesign.programDesignID
2) If newDesign isn't used anywhere else in the extracted method

I would want it to just pass in the programDesignID INT, not the entire object....since that means any other time I want to call it I need to get a reference to the object, not just the ID
0
Kaloyan
Telerik team
answered on 01 Mar 2011, 10:10 AM
Hello Steve,

The first issue you report should already be fixed in the latest internal build. So give it a spin and let us know whether it's still there.
As for your suggestion for improvement of extract method, I've created an item in PITS an you can monitor its progress here. Some telerik points are on the way to reward you for the idea.

Best wishes,
Kaloyan
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Refactorings
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Kaloyan
Telerik team
Share this question
or