Move multiple files to another namespace

I faced with some problem. For example I have folder Folder1 with files

Folder1
---Class1.cs
---Class2.cs

and I want to move both classes to a different folder Folder2. If I do it using drag&drop I need to open each file and rename the namespace manually using ALT+ENTER.

Is there any way to move several class from one folder to another and automatically correct namespace in this classes?

3 comments

+1 to a quick-fix which fixes namespaces in the current solution or folder!

Henning

"Dima" <no_reply@jetbrains.com> wrote in message
news:25052764.146111221458010597.JavaMail.jive@app4.labs.intellij.net...
>I faced with some problem. For example I have folder Folder1 with files
>

Folder1
---Class1.cs
---Class2.cs

>

and I want to move both classes to a different folder Folder2. If I do it
using drag&drop I need to open each file and rename the namespace manually
using ALT+ENTER.

>

Is there any way to move several class from one folder to another and
automatically correct namespace in this classes?


0

This is exactly why I'm checking out Resharper. I somewhat dissepointed that this feature is still not present, although I've seen some post more than two years ago discussing the issue.

Or it is present and I totaly fail to find it Does anyone know how to handle this? With or without reshaper.

thx

0

Please sign in to leave a comment.