Negation in .gitignore file for a very large repository will cause visual studio to hang. In the matched files listing on hover, it shows nearly every file in the project, not just the negated path.
Steps to recreate
Create a large solution (mine has 10+ projects and over 11k files)
Add the following lines to .gitignore
# NuGet Packages Directory (Ensure Nuget Package Restore is Enabled)
packages/*
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
!packages/*/build/
Hover over !packages/*/build for a bit
Try to do anything else
Current behavior
VS hangs with 32% processor usage, normal memory usage
Installed product versions
Description
Negation in .gitignore file for a very large repository will cause visual studio to hang. In the matched files listing on hover, it shows nearly every file in the project, not just the negated path.
Steps to recreate
Current behavior
VS hangs with 32% processor usage, normal memory usage
Expected behavior
VS should be responsive