开发者

Visual Studio plugin to refactor (change) class namespace

开发者 https://www.devze.com 2023-03-13 00:12 出处:网络
Similar questions are here and here.One is almost a year old, the other almost three. Is there any light plugin for Visual Studio that moves a class into a new namespace?Bonus points if it works for

Similar questions are here and here. One is almost a year old, the other almost three.

Is there any light plugin for Visual Studio that moves a class into a new namespace? Bonus points if it works for WPF/Silverlight user controls (by renaming the开发者_StackOverflowir concomitant xmlns markup)

I don't want to dump resharper onto my IDE just for one feature. I'm hoping someone knows of some light and simple plugin that does this.


I cannot say I know of an addin that can do this, however the answers to this post (see also) detail how to generate a folder structure based namespace using the Visual Studio environment variable in T4 which I'm sure could be wrapped into a macro or addin. Please let me know if you have the time to package this up!

0

精彩评论

暂无评论...
验证码 换一张
取 消