Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have inadvertantly added some entries to the "Find and Replace" dialog in Visual Studio 2010. See picture below:

enter image description here

I want to remove \r\n, Double, etc.

How can I do this?

share|improve this question
    
How the heck did you add them? :) –  Ƭᴇcʜιᴇ007 Mar 21 '12 at 15:42
    
I'm not even sure. My best guess is that the focus was in that field when I was typing and I didn't notice. –  Welton v3.53 Mar 21 '12 at 21:43

2 Answers 2

up vote 8 down vote accepted

These entries are located in the following registry key:

HKCU\Software\Microsoft\VisualStudio\10.0\Find

They will be prefixed with Query and then followed by a number.

share|improve this answer
    
It's simply ridiculous that you need to edit the registry to remove something from the "Look in" field. Thanks for this answer though. –  zzzzBov Oct 4 '12 at 15:19
1  
Note that the entries came back after I deleted them using regedt32.exe, because I then closed a running Visual Studio instance, after doing a "Save All". So close VS before deleting them. And that further entries can be found in ...\Find\Named that still show up in "Look In". Did not try to remove those. –  ddevienne May 6 at 9:10

The location for those entries is:

HKEY_USERS \ {user guid} \Software\Microsoft\VisualStudio\10.0\Find

where [user guid] is the guid for the current user.

really I just searched the registry for some entries that I added by accident while testing if there was another way to remove them.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.