Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 15 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
2  
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
3  
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 '14 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .