title: Case preserving find/replace in Visual Studio
body: <p>There seems to be no built-in support for case preserving find/replace in VisualStudio (see also a respective <a href="https://developercommunity.visualstudio.com/t/case-preserving-search-replace/580810" rel="nofollow noreferrer">feature request</a>).</p>
  <p>What I mean is: searching for 'BadJob' and replacing with 'GoodJob' would do the following replacements</p>
  <pre><code>'badjob' -&gt; 'goodjob'  
  'BadJob' -&gt; 'GoodJob'  
  'badJob' -&gt; 'goodJob'  
  'BADJOB' -&gt; 'GOODJOB'
  </code></pre>
  <p>So I am looking for a macro/add-in which implements case preserving find/replace. And if none exists, what is a good starting point to write my own (preferably based on the built-in find/replace capabilities).</p>
  <p>Update:<br />
  I know I can make 4 manual replacements doing the job, but I am looking for a way to do it automatically in VS (like e.g. Emacs does it).
  A common scenario: a variable named 'foo' and some functions DoFoo(), GetFoo(), ... and some additional comments containing 'foo' 'Foo' etc.
  Now rename 'foo' to bar' yielding variable 'bar', functions DoBar(), GetBar() etc. by ONE find/replace.</p>