ReSharper 2.0 for VS .NET 2005 (EAP)
Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005 will
start in approximately 2 months (sometime in May) ... And as I've previously
wrote, current ReSharper customers will ugrade to this version, too, for
FREE.
Best,
David Stennett
JetBrains, Inc.
Please sign in to leave a comment.
David Stennett wrote:
Hi!
And... and what is the estimated release date for Reshaper 1.5 (for
VS.NET 2003)
Today or on monday. Actually the build #160 is the release build. We are
just doing changes on the website etc.
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005
>> will start in approximately 2 months (sometime in May) ... And as
>> I've previously wrote, current ReSharper customers will ugrade to
>> this version, too, for FREE.
>>
>> Best,
>>
>> David Stennett
>> JetBrains, Inc.
Valentin Kipiatkov (JetBrains) wrote:
Really? Those are great news... I can't wait to update!
thanks
Hello David,
I discussed yesterday with some Microsoft folks and I was told that they
are not planning to add more refactoring then the one that are presents in
the beta 2. I think that in some scenarios like refactor to pattern, it
is far too few. What are you planning for that release, mau we get some hints
?
Thanks
Best Regards,
---
Laurent Kempé - lkempe@netcourrier.com
Tech Head Brothers - http://www.TechHeadBrothers.com
Blog - http://weblogs.asp.net/lkempe
Hello Laurent,
>> Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005
>> will start in approximately 2 months (sometime in May) ... And as
>> I've previously wrote, current ReSharper customers will ugrade to
>> this version, too, for FREE.
>>
>> Best,
>>
>> David Stennett
>> JetBrains, Inc.
I haven't looked at VS .NET 2005 Beta yet -- does it have all of the Refactorings
of ReSharper 1.5? If not, any not there, will be in our plugin for sure
... a list of added refactorings for ReSharper 2.0 will be known, for sure,
when the EAP starts in May ... maybe even before then! Stay turned ....
David
Hello David,
Thanks for the feedback even if I expected mor einfo about it ;)
No VS 2005 doesn't have all of 1.5, as far I saw.
Best Regards,
---
Laurent Kempé - lkempe@netcourrier.com
Tech Head Brothers - http://www.TechHeadBrothers.com
Blog - http://weblogs.asp.net/lkempe
>> Hello David,
>>
>> I discussed yesterday with some Microsoft folks and I was told that
>> they are not planning to add more refactoring then the one that are
>> presents in the beta 2. I think that in some scenarios like refactor
>> to pattern, it is far too few. What are you planning for that
>> release, mau we get some hints ?
>>
>> Thanks
>>
>> Best Regards,
>> ---
>> Laurent Kempé - lkempe@netcourrier.com
>> Tech Head Brothers - http://www.TechHeadBrothers.com
>> Blog - http://weblogs.asp.net/lkempe
>>
>>> Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005
>>> will start in approximately 2 months (sometime in May) ... And as
>>> I've previously wrote, current ReSharper customers will ugrade to
>>> this version, too, for FREE.
>>>
>>> Best,
>>>
>>> David Stennett
>>> JetBrains, Inc.
Laurent,
We plan to add a few more refactorings to ones already present in ReSharper
1.5. Which ones would you like to see added?
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005
>> will start in approximately 2 months (sometime in May) ... And as
>> I've previously wrote, current ReSharper customers will ugrade to
>> this version, too, for FREE.
>>
>> Best,
>>
>> David Stennett
>> JetBrains, Inc.
Hello Laurent,
Yeah, good point ;) We're taking orders ... just let us know what you want
... Valentin will then confirm whether or not it'll be added. Whatever the
case, we will bring more added value to VS .NET 2005 ... you can be sure
of that.
David Stennett
JetBrains, Inc.
Hi!
I would like to see:
Pull up/Push down in Hierarchy: (Move a member and related members up and down in inheritance hierarchy)
Minimize Access Rights: Scans all the members of a class and changes them to the minimal access right that is required for them to work.
It would also be nice to have so kind of integration with FxCop...
+1 to more integration of FxCop-like functionality. Add more FxCop warnings
as warnings in the editor so you can visually see them without having to run
a separate FxCop process, and add more code-inspection type functionality.
Obviously if you duplicate FxCop functionality it should be in a form that
is far more convenient than running FxCop itself.
"Luxspes" <no_mail@jetbrains.com> wrote in message
news:2381695.1110295675477.JavaMail.itn@is.intellij.net...
>
>
>
>
Hello Paul,
aren't Microsoft going to provide FxCop integration themselves? As far as
I know
something like FxCop integration will be included into VS Team System.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Hi!
>> I would like to see:
>> Pull up/Push down in Hierarchy: (Move a member and related members up
>> and down in inheritance hierarchy)
>>
>> Minimize Access Rights: Scans all the members of a class and changes
>> them to the minimal access right that is required for them to work.
>>
>> It would also be nice to have so kind of integration with FxCop...
>>
Hello,
I think FxCop integration might highlight errors like incorrectly named field
names, etc, on-the-fly.
>> +1 to more integration of FxCop-like functionality. Add more FxCop
>> warnings as warnings in the editor so you can visually see them
>> without having to run a separate FxCop process, and add more
>> code-inspection type functionality. Obviously if you duplicate FxCop
>> functionality it should be in a form that is far more convenient than
>> running FxCop itself.
>>
>> "Luxspes" <no_mail@jetbrains.com> wrote in message
>> news:2381695.1110295675477.JavaMail.itn@is.intellij.net...
>>
>>> Hi!
>>> I would like to see:
>>> Pull up/Push down in Hierarchy: (Move a member and related members
>>> up
>>> and down in inheritance hierarchy)
>>> Minimize Access Rights: Scans all the members of a class and changes
>>> them to the minimal access right that is required for them to work.
>>>
>>> It would also be nice to have so kind of integration with FxCop...
>>>
Hello Dmitry,
Yes, but I guess they want it on the fly, something that Microsoft will not
provide as I have seen.
Best Regards,
---
Laurent Kempé - lkempe@netcourrier.com
Tech Head Brothers - http://www.TechHeadBrothers.com
Blog - http://weblogs.asp.net/lkempe
>> +1 to more integration of FxCop-like functionality. Add more FxCop
>> warnings as warnings in the editor so you can visually see them
>> without having to run a separate FxCop process, and add more
>> code-inspection type functionality. Obviously if you duplicate FxCop
>> functionality it should be in a form that is far more convenient than
>> running FxCop itself.
>>
>> "Luxspes" <no_mail@jetbrains.com> wrote in message
>> news:2381695.1110295675477.JavaMail.itn@is.intellij.net...
>>
>>> Hi!
>>> I would like to see:
>>> Pull up/Push down in Hierarchy: (Move a member and related members
>>> up
>>> and down in inheritance hierarchy)
>>> Minimize Access Rights: Scans all the members of a class and changes
>>> them to the minimal access right that is required for them to work.
>>>
>>> It would also be nice to have so kind of integration with FxCop...
>>>
Hello Valentin,
Move method
other coming soon, I just had that one in mind
Best Regards,
---
Laurent Kempé - lkempe@netcourrier.com
Tech Head Brothers - http://www.TechHeadBrothers.com
Blog - http://weblogs.asp.net/lkempe
>> Hello David,
>>
>> I discussed yesterday with some Microsoft folks and I was told that
>> they are not planning to add more refactoring then the one that are
>> presents in the beta 2. I think that in some scenarios like refactor
>> to pattern, it is far too few. What are you planning for that
>> release, mau we get some hints ?
>>
>> Thanks
>>
>> Best Regards,
>> ---
>> Laurent Kempe - lkempe@netcourrier.com
>> Tech Head Brothers - http://www.TechHeadBrothers.com
>> Blog - http://weblogs.asp.net/lkempe
>>
>>> Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005
>>> will start in approximately 2 months (sometime in May) ... And as
>>> I've previously wrote, current ReSharper customers will ugrade to
>>> this version, too, for FREE.
>>>
>>> Best,
>>>
>>> David Stennett
>>> JetBrains, Inc.
Hello Laurent,
What are the particular coding situations when you need yo move a method
from one class to another?
Do you mean static methods, or instance methods too?
Personally, in IDEA experience I found 'Make method static/make instance
method/move static method' caters for all my method placement needs :)
Cheers,
Dmitry
---
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"
VS 2005 refactorings are very slow in operation so roll on ReSharper 2.0!
One NICE bit of functionality from VS 2005 is the ability to do a rename inline, i.e. you just change the identifier at its declaration and you get the option to refactor all references to match. It's a lot slicker than having to choose "Rename" from menu or hit a hotkey. I'd like to see this in ReSharper 2.0 (i.e. via the popup "light bulb" which would appear whenever you edit a declaration), in addition to the existing "manual" renaming.
Hello Dmitry,
I concur with Laurent's request. There are many times that I find that I
placed a method (both instance and static) on the wrong class and would like
to move it. The process currently involves a search/replace which I think
could be automated by Resharper.
--
Matt Berther
http://www.mattberther.com
>> Move method
>>
Matt,
my questions were more specific, actually.
Should we implement only Move Static Methods, or more functionality?
Friendly,
Dmitry
>> Hello Laurent,
>>
>>> Move method
>>>
>> What are the particular coding situations when you need yo move a
>> method
>> from one class to another?
>> Do you mean static methods, or instance methods too?
>> Personally, in IDEA experience I found 'Make method static/make
>> instance
>> method/move static method' caters for all my method placement needs
>> :)
>> Cheers,
>> Dmitry
>> ---
>> Dmitry Lomov
>> Software Developer
>> JetBrains Inc.
>> http://www.jetbrains.com
>> "Develop With Pleasure!"
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"
Hello Dmitry,
Perhaps I wasnt quite clear... Move Static and Move Instance...
--
Matt Berther
http://www.mattberther.com
>> Hello Dmitry,
>>
>> I concur with Laurent's request. There are many times that I find
>> that I placed a method (both instance and static) on the wrong class
>> and would like to move it. The process currently involves a
>> search/replace which I think could be automated by Resharper.
>>
>> --
>> Matt Berther
>> http://www.mattberther.com
>>> Hello Laurent,
>>>
>>>> Move method
>>>>
>>> What are the particular coding situations when you need yo move a
>>> method
>>> from one class to another?
>>> Do you mean static methods, or instance methods too?
>>> Personally, in IDEA experience I found 'Make method static/make
>>> instance
>>> method/move static method' caters for all my method placement needs
>>> :)
>>> Cheers,
>>> Dmitry
>>> ---
>>> Dmitry Lomov
>>> Software Developer
>>> JetBrains Inc.
>>> http://www.jetbrains.com
>>> "Develop With Pleasure!"
How should moving instance method work? You need an object instance to invoke
the instance method. Should it always be taken from one of method arguments?
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Matt,
>> my questions were more specific, actually.
>> Should we implement only Move Static Methods, or more functionality?
>> Friendly,
>> Dmitry
>>> Hello Dmitry,
>>>
>>> I concur with Laurent's request. There are many times that I find
>>> that I placed a method (both instance and static) on the wrong class
>>> and would like to move it. The process currently involves a
>>> search/replace which I think could be automated by Resharper.
>>>
>>> --
>>> Matt Berther
>>> http://www.mattberther.com
>>>> Hello Laurent,
>>>>
>>>>> Move method
>>>>>
>>>> What are the particular coding situations when you need yo move a
>>>> method
>>>> from one class to another?
>>>> Do you mean static methods, or instance methods too?
>>>> Personally, in IDEA experience I found 'Make method static/make
>>>> instance
>>>> method/move static method' caters for all my method placement needs
>>>> :)
>>>> Cheers,
>>>> Dmitry
>>>> ---
>>>> Dmitry Lomov
>>>> Software Developer
>>>> JetBrains Inc.
>>>> http://www.jetbrains.com
>>>> "Develop With Pleasure!"
I personally cannot understand why it's slicker. In ReSharper you press a
shortcut and then do renaming, in VS2005 you type-in the new name and then
you should use the mouse to access their "actions" list. Or do they have
way to access it via the keyboard?
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hello Valentin,
This may be kind of sloppy, but couldnt it see if an instance was already
defined and if so, use it. Otherwise, create a new instance and use it?
--
Matt Berther
http://www.mattberther.com
>> Hello Dmitry,
>>
>> Perhaps I wasnt quite clear... Move Static and Move Instance...
>>
>> --
>> Matt Berther
>> http://www.mattberther.com
>>> Matt,
>>> my questions were more specific, actually.
>>> Should we implement only Move Static Methods, or more functionality?
>>> Friendly,
>>> Dmitry
>>>> Hello Dmitry,
>>>>
>>>> I concur with Laurent's request. There are many times that I find
>>>> that I placed a method (both instance and static) on the wrong
>>>> class and would like to move it. The process currently involves a
>>>> search/replace which I think could be automated by Resharper.
>>>>
>>>> --
>>>> Matt Berther
>>>> http://www.mattberther.com
>>>>> Hello Laurent,
>>>>>
>>>>>> Move method
>>>>>>
>>>>> What are the particular coding situations when you need yo move a
>>>>> method
>>>>> from one class to another?
>>>>> Do you mean static methods, or instance methods too?
>>>>> Personally, in IDEA experience I found 'Make method static/make
>>>>> instance
>>>>> method/move static method' caters for all my method placement
>>>>> needs
>>>>> :)
>>>>> Cheers,
>>>>> Dmitry
>>>>> ---
>>>>> Dmitry Lomov
>>>>> Software Developer
>>>>> JetBrains Inc.
>>>>> http://www.jetbrains.com
>>>>> "Develop With Pleasure!"
Hello Valentin,
I believe its SHIFT-F10 to access it via keyboard, but only when the tag
is visible... You're right... accessing it with the mouse is a pain, because
you have to click just right.
I much prefer having a constant key mapping (like R#r) available to rename.
--
Matt Berther
http://www.mattberther.com
>> One NICE bit of functionality from VS 2005 is the ability to do a
>> rename inline, i.e. you just change the identifier at its declaration
>> and you get the option to refactor all references to match. It's a
>> lot slicker than having to choose "Rename" from menu or hit a hotkey.
>> I'd like to see this in ReSharper 2.0 (i.e. via the popup "light
>> bulb" which would appear whenever you edit a declaration), in
>> addition to the existing "manual" renaming.
>>
>> VS 2005 refactorings are very slow in operation so roll on ReSharper
>> 2.0!
>>
>> One NICE bit of functionality from VS 2005 is the ability to do a
>> rename inline, i.e. you just change the identifier at its declaration
>> and you get the option to refactor all references to match. It's a
>> lot slicker than having to choose "Rename" from menu or hit a hotkey.
>> I'd like to see this in ReSharper 2.0 (i.e. via the popup "light
>> bulb" which would appear whenever you edit a declaration), in
>> addition to the existing "manual" renaming.
>>
Hello Matt,
What do you mean by "instance was already defined"? If there are more than
one instance of a class at a point of call?
Say, an arrayful of them? :)
The only meaningful way of moving instance methods method is, IMHO, moving
a method to a class that is a type of one of the parameters (w.r.t calls
it is a "change signature" where 'this' becomes a parameter and one of the
parameters becomes 'this').
BTW, creating a new instance and using it at the point of call is easily
done if we have such a 'Move to Class of Parameter'.
Step 1: add a parameter with a default value of 'new C()' (use Change Signature
or Introduce Parameter for that)
Step 2: apply 'Move to Class of Parameter', moving method to a class of the
newly added parameter.
IMHO, this is a quite rare use-case that does not warrant a separate refactoring.
Friendly,
Dmitry
>> How should moving instance method work? You need an object instance
>> to invoke the instance method. Should it always be taken from one of
>> method arguments?
>>
>> Valentin Kipiatkov
>> Chief Scientist, Vice President of Product Development
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello Dmitry,
>>>
>>> Perhaps I wasnt quite clear... Move Static and Move Instance...
>>>
>>> --
>>> Matt Berther
>>> http://www.mattberther.com
>>>> Matt,
>>>> my questions were more specific, actually.
>>>> Should we implement only Move Static Methods, or more
>>>> functionality?
>>>> Friendly,
>>>> Dmitry
>>>>> Hello Dmitry,
>>>>>
>>>>> I concur with Laurent's request. There are many times that I find
>>>>> that I placed a method (both instance and static) on the wrong
>>>>> class and would like to move it. The process currently involves a
>>>>> search/replace which I think could be automated by Resharper.
>>>>>
>>>>> --
>>>>> Matt Berther
>>>>> http://www.mattberther.com
>>>>>> Hello Laurent,
>>>>>>
>>>>>>> Move method
>>>>>>>
>>>>>> What are the particular coding situations when you need yo move a
>>>>>> method
>>>>>> from one class to another?
>>>>>> Do you mean static methods, or instance methods too?
>>>>>> Personally, in IDEA experience I found 'Make method static/make
>>>>>> instance
>>>>>> method/move static method' caters for all my method placement
>>>>>> needs
>>>>>> :)
>>>>>> Cheers,
>>>>>> Dmitry
>>>>>> ---
>>>>>> Dmitry Lomov
>>>>>> Software Developer
>>>>>> JetBrains Inc.
>>>>>> http://www.jetbrains.com
>>>>>> "Develop With Pleasure!"
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"
There's a keyboard shortcut. What's nice is that when you modify the name,
the VS "underline" shows up and you can hit the hotkey to get the menu, just
as you can get the ReSharper menu when you hit Alt-Enter.
Anything inline is slicker. It's intrusive to have a dialog pop up that you
have to fill in when you're in the middle of coding. That's presumably why
you have the ReSharper "light-bulb" show up with the Alt-Enter shortcut to
get to the menu, rather than having to go into a dialog.
Cheers,
MikeS.
"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in message
news:436337632461498910699029@news.intellij.net...
>> One NICE bit of functionality from VS 2005 is the ability to do a
>> rename inline, i.e. you just change the identifier at its declaration
>> and you get the option to refactor all references to match. It's a lot
>> slicker than having to choose "Rename" from menu or hit a hotkey. I'd
>> like to see this in ReSharper 2.0 (i.e. via the popup "light bulb"
>> which would appear whenever you edit a declaration), in addition to
>> the existing "manual" renaming.
>
>
>
>> VS 2005 refactorings are very slow in operation so roll on ReSharper
>> 2.0!
>>
>> One NICE bit of functionality from VS 2005 is the ability to do a
>> rename inline, i.e. you just change the identifier at its declaration
>> and you get the option to refactor all references to match. It's a lot
>> slicker than having to choose "Rename" from menu or hit a hotkey. I'd
>> like to see this in ReSharper 2.0 (i.e. via the popup "light bulb"
>> which would appear whenever you edit a declaration), in addition to
>> the existing "manual" renaming.
>>
>
>
I think he means a simple move of a method from class A to class B, e.g.
class A
{
void Method() { ; }
}
class B
{
}
Right-clicking on Method would have the refactoring "Move method..." and
when invoked would show a list of classes. Selecting Class B would result
in:
class A
{
}
class B
{
void Method() { ; }
}
Whether the method is static or instance is irrelevant. The same should work
for properties and fields. Multi-selecting any of these would also be nice.
Cheers,
MikeS.
"Dmitry Lomov (JetBrains)" <dmitry.lomov@jetbrains.com> wrote in message
news:138849632462453529354820@news.intellij.net...
>
>> Hello Valentin,
>>
>> This may be kind of sloppy, but couldnt it see if an instance was
>> already defined and if so, use it. Otherwise, create a new instance
>> and use it?
>
>
>
>
>>
>> --
>> Matt Berther
>> http://www.mattberther.com
>>> How should moving instance method work? You need an object instance
>>> to invoke the instance method. Should it always be taken from one of
>>> method arguments?
>>>
>>> Valentin Kipiatkov
>>> Chief Scientist, Vice President of Product Development
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>> Hello Dmitry,
>>>>
>>>> Perhaps I wasnt quite clear... Move Static and Move Instance...
>>>>
>>>> --
>>>> Matt Berther
>>>> http://www.mattberther.com
>>>>> Matt,
>>>>> my questions were more specific, actually.
>>>>> Should we implement only Move Static Methods, or more
>>>>> functionality?
>>>>> Friendly,
>>>>> Dmitry
>>>>>> Hello Dmitry,
>>>>>>
>>>>>> I concur with Laurent's request. There are many times that I find
>>>>>> that I placed a method (both instance and static) on the wrong
>>>>>> class and would like to move it. The process currently involves a
>>>>>> search/replace which I think could be automated by Resharper.
>>>>>>
>>>>>> --
>>>>>> Matt Berther
>>>>>> http://www.mattberther.com
>>>>>>> Hello Laurent,
>>>>>>>
>>>>>>>> Move method
>>>>>>>>
>>>>>>> What are the particular coding situations when you need yo move a
>>>>>>> method
>>>>>>> from one class to another?
>>>>>>> Do you mean static methods, or instance methods too?
>>>>>>> Personally, in IDEA experience I found 'Make method static/make
>>>>>>> instance
>>>>>>> method/move static method' caters for all my method placement
>>>>>>> needs
>>>>>>> :)
>>>>>>> Cheers,
>>>>>>> Dmitry
>>>>>>> ---
>>>>>>> Dmitry Lomov
>>>>>>> Software Developer
>>>>>>> JetBrains Inc.
>>>>>>> http://www.jetbrains.com
>>>>>>> "Develop With Pleasure!"
>
Hello Mike,
what would happen with invocations like:
A a = new A ();
a.Method ();
?
I don't see any way to modify the invocations to reflect the
movement of the method if classes A and B are completely unrelated.
Such a refactoring would be the same as a simple combination of copy & cut.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Hello Matt,
>>
>>> Hello Valentin,
>>>
>>> This may be kind of sloppy, but couldnt it see if an instance was
>>> already defined and if so, use it. Otherwise, create a new instance
>>> and use it?
>>>
>> What do you mean by "instance was already defined"? If there are more
>> than
>> one instance of a class at a point of call?
>> Say, an arrayful of them? :)
>> The only meaningful way of moving instance methods method is, IMHO,
>> moving a method to a class that is a type of one of the parameters
>> (w.r.t calls it is a "change signature" where 'this' becomes a
>> parameter and one of the parameters becomes 'this').
>>
>> BTW, creating a new instance and using it at the point of call is
>> easily
>> done if we have such a 'Move to Class of Parameter'.
>> Step 1: add a parameter with a default value of 'new C()' (use Change
>> Signature or Introduce Parameter for that)
>> Step 2: apply 'Move to Class of Parameter', moving method to a class
>> of
>> the newly added parameter.
>> IMHO, this is a quite rare use-case that does not warrant a separate
>> refactoring.
>> Friendly,
>> Dmitry
>>> --
>>> Matt Berther
>>> http://www.mattberther.com
>>>> How should moving instance method work? You need an object instance
>>>> to invoke the instance method. Should it always be taken from one
>>>> of method arguments?
>>>>
>>>> Valentin Kipiatkov
>>>> Chief Scientist, Vice President of Product Development
>>>> JetBrains, Inc
>>>> http://www.jetbrains.com
>>>> "Develop with pleasure!"
>>>>> Hello Dmitry,
>>>>>
>>>>> Perhaps I wasnt quite clear... Move Static and Move Instance...
>>>>>
>>>>> --
>>>>> Matt Berther
>>>>> http://www.mattberther.com
>>>>>> Matt,
>>>>>> my questions were more specific, actually.
>>>>>> Should we implement only Move Static Methods, or more
>>>>>> functionality?
>>>>>> Friendly,
>>>>>> Dmitry
>>>>>>> Hello Dmitry,
>>>>>>>
>>>>>>> I concur with Laurent's request. There are many times that I
>>>>>>> find that I placed a method (both instance and static) on the
>>>>>>> wrong class and would like to move it. The process currently
>>>>>>> involves a search/replace which I think could be automated by
>>>>>>> Resharper.
>>>>>>>
>>>>>>> --
>>>>>>> Matt Berther
>>>>>>> http://www.mattberther.com
>>>>>>>> Hello Laurent,
>>>>>>>>
>>>>>>>>> Move method
>>>>>>>>>
>>>>>>>> What are the particular coding situations when you need yo move
>>>>>>>> a
>>>>>>>> method
>>>>>>>> from one class to another?
>>>>>>>> Do you mean static methods, or instance methods too?
>>>>>>>> Personally, in IDEA experience I found 'Make method static/make
>>>>>>>> instance
>>>>>>>> method/move static method' caters for all my method placement
>>>>>>>> needs
>>>>>>>> :)
>>>>>>>> Cheers,
>>>>>>>> Dmitry
>>>>>>>> ---
>>>>>>>> Dmitry Lomov
>>>>>>>> Software Developer
>>>>>>>> JetBrains Inc.
>>>>>>>> http://www.jetbrains.com
>>>>>>>> "Develop With Pleasure!"
>> --
>> Dmitry Lomov
>> Software Developer
>> JetBrains Inc.
>> http://www.jetbrains.com
>> "Develop With Pleasure!"
Great !, One thing I noticed with VS 2005 refactoring is renaming references
within Strings along with preview, very helpful in case of renaming control
names in ASPX. Though this support is not available for Composite control
like DataGrid, would be a nice thing to have...Make Method Static and then
Move Static Method is another refactoring that would be on top of my list. -
Krishna
"David Stennett" <nospam@thankyou.com> wrote in message
news:107019632449374500618750@news.intellij.net...
>
>
>
Hello Krishna,
Thank you for your comments.
Actually, we already do a bit of string literals renaming. For example, we
change literals assigned to control Name property when the control field
is renamed on a form. We will consider more string-literal-aware renamings
in version 2.0
In version 2.0 we will add new refactorings, and those that you mention are
on our list.
>> Just for clarity's sake, the EAP for ReSharper 2.0 for VS .NET 2005
>> will start in approximately 2 months (sometime in May) ... And as
>> I've previously wrote, current ReSharper customers will ugrade to
>> this version, too, for FREE.
>>
>> Best,
>>
>> David Stennett
>> JetBrains, Inc.
Thanks,
Andrey Simanovsky
Inline rename. It's mostly asthetic, but I've gotta agree I don't like the popup dialog. It works inline for some things already I think, like maybe properties, or code-gen bits. I'd like to see it work that way for everything. Much nicer.
VS2005's biggest advance tho' IMO is the intellisense for variable names in scope. Start typing a parameter within a method body, and VS2k5 will guess what you want. If it guessed wrong, keep typing. If it guessed right, hit the next non variable character (parens, semi-colon, space, etc) to accept.
So the method body of this:
void SaySomething( string messageThatYouTypedInYouSillyMonkey ) {
Console.WriteLine(messageThatYouTypedInYouSillyMonkey);
}
Is written with these keystrokes: Con.WriteL(me);
A whole lot nicer than the ctrl+space shortcut IMO. And it's very fast too, with inline intellisense drop-downs popping up instantaneously.