Contents tagged with Refactoring
-
[Refactoring] Tools for Refactoring VB.NET
I've not been coding any VB.NET for a while now, but when looking into a pretty good sample of how to develop an Outlook style smart client (which is in VB.NET), the walkthrough recommended to use Refactor! for Visual Basic 2005. It's a free plugin from Developer Express inc, in partnership with Microsoft and it supports a bunch of the most common refactorings you need.
The last 2 years I've used c# all of the time for my .NET projects, but VB.NET is pretty neat actually. I don't mind using VB for coding up presentation layer stuff, and keep using C# for the rest. VB can be somewhat faster to use, as you don't need to think of cases, semi colons and stuff, and you got these new namespaces which gives you fast track access to common functionality which is almost like cheating ;)
If the link to the sample app is not working for you, try searching on MSDN for "RSS Reader Outlook look and feel" and you should find it. Also available on the VB Developer Center.
-
[Refactoring] ReSharper EAP is Open
Old news for some here maybe, but anyway - the ReSharper (C# refactoring and other goodies) plugin for VisualStudio.NET 2003 is available for download now.
ReSharper is developed by JetBrains, Inc, and will contain a number of features that we see and love in the IntelliJ editor. I've just downloaded it and will try it out later today. It doesn't contain more than one refactoring so far, but has a number of other goodies in it that is worth trying I think.
Quote from the IntelliJ forums at http://www.intellij.net/forums/thread.jsp?forum=7&thread=76005&tstart=0&trange=15 :
"We have opened the EAP for our new product for C# development: ReSharper.
EAP M1 (build 64) is available at http://www.jetbrains.net/resharper
Please use the following credentials to access the ReSharper EAP site
(http://www.jetbrains.net/resharper):User name: eapuser
Password: eapuser--
Oleg Stepanov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"" -
[refactoring] Coming soon - VB Refactory from Xtreme Simplicity
From the Xtreme Simplicity home page:
"As part of our strategy to be the premiere refactoring solution for Visual Studio .NET, Xtreme Simplicity will soon be releasing a refactoring add-in for Visual Basic. Soon the powerful code-restructuring and metrics which have proved most popular with C# programmers will be available for Visual Basic. If you are interested in participating in our alpha testing program or wish to be notified when VB Refactory is released contact us at VBalpha@xtreme-simplicity.net "
UPDATE: I've been told now that this message has been on their website for ages :( Besides, the function to get an evaluation key seems broken. They've apparently ran out of evaluation keys???
"Sorry. There are currently no evaluation keys available. This is a temporary problem that will be corrected as soon as possible. If you fill in the following form, we will contact you when licenses are available. Alternatively, you can place an order, and we'll send you an activation code right away..."
Yeah, sure...
-
[refactoring] Refactoring is fun
I'm a fan of Martin Fowler and of refactoring. I've used rafactoring add-ins for different Java-editors the last years, and was very happy to read about the rafactoring support in the upcoming Whidbey. Until then, I'm using using the C# Refactoring tool from Xtreme Simplicity, which has refactoring support for the following methods:
Extract Method
Change Method Signature
Decompose Conditional
Extract Variable
Extract Superclass
Extract Interface
Copy Class
Push Up Members
Rename Type
Rename Member
Rename Parameter
Rename Local Variable
Find References
Tidy Imports
Encapsulate FieldI've only tried a couple of them yet, like the "Extract Method", "Tidy Imports" and "Rename Xxx" and they work great. Pity there isn't support for VB.NET, since I use that alot too.