In VS2010 C#, when I right-click there is "Refactor" menu with following options:
Are these options available in VS2010 VB.Net? All I can see is "Rename" when I right click?
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code. Refactoring is the process of modifying code in order to make it easier to maintain, understand, and extend, but without changing its behavior.
Visual Studio Code supports refactoring operations (refactorings) such as Extract Method and Extract Variable to improve your code base from within your editor.
A term coined by Martin Fowler, code refactoring allows you to change the code structure without changing or affecting what the code itself actually does. For example, changing a variable name or packaging a few lines of code into a method are code refactoring.
This refactoring option allows you to remove additional parameters from a method and update the references everywhere that has been used. Generally, you need this feature to remove unused parameters from the methods.
"Rename" is the only refactoring VB.Net has. C# is definitely more robust.
Check out Code Rush Xpress. It's a slimmed down, free version of their full tool but it may provide some of your missing refactorings.
Personally, I use and absolutely love Resharper. Well worth the money IMO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With