1

在 Visual Studio 2015 中,我对解决方案进行了“在文件中查找”搜索,并注意到结果的顺序与我预期的不同。

E:\Source Code\Manager\Manager.BusinessLogic\Permission\AppModuleManager.cs(158):                EnumPair<PermissionType> actualPermission = permissionValue as EnumPair<PermissionType>;
E:\Source Code\BusinessLogic\ValueObjects\EnumPair.cs(9):    public class EnumPair<T> : ObservableObject
E:\Source Code\BusinessLogic\ValueObjects\InheritedPermissionModel.cs(485):     public EnumPair<PermissionType> ViewPickups { get; set; }
E:\Source Code\Reports\Reports\Common\Model\EnumPair.cs(3):    public class EnumPair
E:\Source Code\BusinessLogic\InheritanceLogic\PermissionInheritanceManager.cs(148):                    resolvedKeywordPermissionItem.AllowKeyword = new EnumPair<PermissionType>(keywordPermission.AllowKeyword, source.GetType().Name);

我想我会首先看到“Source Code\BusinessLogic”中的条目,然后是“Source code\Manager”中的条目,最后是“Source Code\Reports”中的条目。我看到的顺序没有意义。

我查看了注册表,发现“HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\Find”可能是决定显示顺序的设置的位置。是否有一个设置,无论是在注册表中还是在其他地方,我都可以更改以使查找结果按字母顺序显示?

4

0 回答 0