title: Visual Studio 2019 - Find items not in source control in Solution Explorer
body: <p>Is there a way to filter the files in the Solution Explorer such that I only see items that <em>are not included in source control</em>?  I don't mean I want to see hidden files; I only want to see files that are <em>included</em> in the solution but are <em>not</em> a part of source control.  You can usually tell these files because they are missing the little lock icon  next to them, but I would like a way to filter to see only those files.</p>
  <p>I ask because . . .</p>
  <p>If I'm switching between projects or tasks, I like to create shelvesets to save any current progress, then right-click &gt; <code>Undo...</code> to get rid of any pending changes.  In .NET Framework projects, this both removes pending changes as well as excludes from the project any brand new files I may have created; unfortunately in .NET Core, this removes pending changes, <em>but any new files I may have created are still included in the project</em>, even though they're <em>excluded</em> from source control.  This usually causes all sorts of build problems until I delete or exclude these files by hand, and I have to comb through my project folders to find them all (or build and rebuild and rebuild to see where the lingering errors occur).  This is a PITA, so I am hopeful there's some easy way to do what I want.</p>