Intellisense 中的模糊自动补全
Fuzzy autocompletion in Intellisense
我正在使用 Visual Studio Community 2015.
进行 C# 项目
不知能否为智能感知补全开启模糊匹配
例如,如果我输入 madeco
那么补全应该建议 max_device_count
.
我发现 JetBrains 的 Resharper 插件正是这样做的,但我保留安装它,因为它是第 3 方工具,而且似乎很重。
例子
示例 C# Class:
class A
{
int max_bytes = 0;
int max_device_count = 0;
int max_workers = 0;
public A()
{
// 1. Typing 'ma' proposes 'max_bytes',
// and in the list I see 'max_device_count' and 'max_workers'
// 2. Typing 'max_d' proposes 'max_device_count'
// 3. Typing 'madeco' should fuzzy match 'max_device_count', but it does not
}
}
查看VS 2015/2017 15.2/2017 15.3发现2017 15.3版本增加了模糊模式,请查看以下内容:
请下载 the VS 2017 15.3,它应该可以正常工作。
我正在使用 Visual Studio Community 2015.
进行 C# 项目不知能否为智能感知补全开启模糊匹配
例如,如果我输入 madeco
那么补全应该建议 max_device_count
.
我发现 JetBrains 的 Resharper 插件正是这样做的,但我保留安装它,因为它是第 3 方工具,而且似乎很重。
例子
示例 C# Class:
class A
{
int max_bytes = 0;
int max_device_count = 0;
int max_workers = 0;
public A()
{
// 1. Typing 'ma' proposes 'max_bytes',
// and in the list I see 'max_device_count' and 'max_workers'
// 2. Typing 'max_d' proposes 'max_device_count'
// 3. Typing 'madeco' should fuzzy match 'max_device_count', but it does not
}
}
查看VS 2015/2017 15.2/2017 15.3发现2017 15.3版本增加了模糊模式,请查看以下内容:
请下载 the VS 2017 15.3,它应该可以正常工作。