4

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 their 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.

Community
  • 1
  • 1
Adam Rackis
  • 82,527
  • 56
  • 270
  • 393
  • 2
    If one is not easily available, might be an idea to write one. Just an thought :) – Kieren Johnstone Jun 15 '11 at 14:43
  • You give me too much credit :) – Adam Rackis Jun 15 '11 at 14:44
  • Out of curiosity why wouldn't you want to use ReSharper? The only reason I can think of is you have a competing tool. – Yuriy Faktorovich Jun 15 '11 at 14:48
  • 1
    I tried ReSharper, I just didn't care for it. Some of their features I liked, some I didn't. I spent a lot of time customizing the features to just what I wanted, and when the trial ran out, I just didn't feel like spending the money to keep it. – Adam Rackis Jun 15 '11 at 14:50
  • I've never met someone who did not like resharper! – BenjaminPaul Sep 01 '14 at 14:17
  • Then you met me too. I prefer CodeRush, is not intrusive, and doesn't replace Visual Studio features but add to them. The features are just what I need. However, the one thing lacking is really the namespaces refactoring, I find it a little poor. – tobiak777 Apr 20 '15 at 12:49

1 Answers1

0

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!

Community
  • 1
  • 1
Dead.Rabit
  • 1,965
  • 1
  • 28
  • 46