可以将Resharper Intellisense配置为按字母顺序排序吗? [英] Can Resharper Intellisense be configured to sort alphabetically?

查看:112
本文介绍了可以将Resharper Intellisense配置为按字母顺序排序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更新为使用VS2013和Resharper 8.2(来自VS2010和Resharper 6),并发现了一个非常烦人的"功能",因为Resharper的智能感知不会按字母顺序对类的成员进行排序.

I've recently updated to using VS2013 and Resharper 8.2, (from VS2010 and Resharper 6) and have found a very annoying "feature" in that Resharper's intellisense does not sort a class's members alphabetically.

通过示例,我有一个名为客户端"的对象,该对象具有一个名为 EthnicityRequired 的属性,以及另一个名为 Ethnicities 的属性.

By way of example, I have an object called "client" which has a property called EthnicityRequired, and another property called Ethnicities.

仅使用本机VS2013 intellisense,这是我输入 client.eth 后得到的结果

Using only native VS2013 intellisense, this is what I get I type client.eth

这是我的期望;这两个属性都一起列出.

This is what I expect; both properties are listed together.

但是,Resharper的Intellisense(少)给了我

But, Resharper's Intellisense(less) gives me this

虽然可见成员按字母顺序排序,但是缺少的 Ethnicities 属性位于列表底部,仅当我键入" ethnicti "时才会匹配该文本不再与 EthnicityRequired (民族要求)匹配.

While the visible members are sorted alphabetically, the missing Ethnicities property is way down the bottom of the list and will only be matched if I type "ethnicti" so that the text no longer matches with EthnicityRequired.

通过仔细检查列表,可以发现Resharper正在应用某种分组方式,然后在每个组中按字母顺序进行排序.

From closer inspection of the list, it appears that Resharper is applying some sort of grouping and then sorting alphabetically within each group.

有人知道如何摆脱这种相当无用的行为,而转而使用Resharper 6.0和更早版本的纯alpha字体吗?

Does anyone know how to get rid of this rather useless behaviour, and revert to a straight alpha sort like Resharper 6.0 and earlier versions?

如果可以为JetBrains的理论依据提供辩护,则奖励积分.

Bonus points if you can provide a defence of JetBrains' rationale.

推荐答案

看来,该故障是特定于ReSharper版本8.2.1的.我刚刚下载/安装了最新版本8.2.3,并且成员列表再次以字母顺序显示.

It appears that the glitch was specific to ReSharper version 8.2.1. I have just downloaded/installed the latest release, 8.2.3, and the list of members is once again shown in alpha order.

这篇关于可以将Resharper Intellisense配置为按字母顺序排序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆