Is there a way to filter the files in the Solution Explorer such that I only see items that are not included in source control? I don't mean I want to see hidden files; I only want to see files that are included in the solution but are not 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.
I ask because . . .
If I'm switching between projects or tasks, I like to create shelvesets to save any current progress, then right-click > Undo...
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, but any new files I may have created are still included in the project, even though they're excluded 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.