Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show only excluded files in VS2010

Is there any way (plugins / extensions are perfectly fine) to show ONLY items that are excluded from a project / solution?

I have a project in which I've just done some significant refactoring and several files and folders are no longer needed. Now I want to remove them from source control (Mercurial, VisualHG plugin is installed in VS2010). It's a rather large solution so I'd rather not have to manually drill through Solution Explorer to find them.

Or, if someone has another process to do this I'm certainly open to that as well.

like image 400
squillman Avatar asked Mar 09 '11 16:03

squillman


1 Answers

Theres no existing addon at the moment. As the project files are XML (see below), in theory you could write an app to parse it and then compare it to the contents of the project directory; and enumerate each one gathering a list of items that are not included.

<ItemGroup>
    <Content Include="rootFile.html" />
    <Content Include="Directory1\File1.xml" />
    <Content Include="Directory2\File2.xml" />
<ItemGroup>

As for integrating this behaviour into Visual Studio, either file a feature request with Microsoft or write this addon.

like image 129
simbolo Avatar answered Nov 15 '22 03:11

simbolo