Sunday, May 1, 2011

Find / Replace all files in namespace or folder

i know i can do find /replace in

  • Current Document
  • Current Project
  • Current Solution

is there anyway to do this in current namespace or current folder??

From stackoverflow
  • Kind of, in ReSharper you can use the Class View window to rename Namespaces, but other than that ... I think you are out of luck. Unless there is a VS plugin I am unaware of.

    Svish : you can also right-click on the namespace in a file I think.
  • I assume you are using Visual Studio. To replace files in a folder just open the Find and Replace dialog, and press the "..." button in "Look in:" section.

    Chad Grant : interesting, have never used that. lol. You could always load them into temp projects (just the stuff you want to get renamed and use resharper & VS find/replace combo

0 comments:

Post a Comment