Intellisense/ReSharper 中的默认 VS2010 IList 类型
假设我有以下功能:
public IList<string> Foo()
{
// code goes here
}
我习惯于输入return new
,一旦我点击[SPACE],智能感知就会弹出并建议List
ReadOnlyCollectionBuilder
,其中唯一的其他选项是TrackableCollection
。我最近重建了我的开发环境,但我不再获得此功能。我认为这是默认的。我以前从未遇到过这个问题(并且已经用VS2010构建了六个以上的开发环境)。
我需要更改哪些设置才能恢复此设置?
Let's say I have the following function:
public IList<string> Foo()
{
// code goes here
}
I'm used to being able to type in return new
and as soon as I hit [SPACE], Intellisense pops up and suggests List<string>
but right now it defaults to ReadOnlyCollectionBuilder<string>
and the only other option in there is TrackableCollection<string>
. I recently rebuilt my dev environment and I no longer get this functionality. I THOUGHT that this was the default. I've never had this problem before (and have built more than half a dozen development environments with VS2010).
What setting(s) do I change to get this back?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我终于找到了这个问题的答案。 Telerik JustCode 的特定版本(但不是全部)导致了此问题。升级、禁用或卸载 JustCode 最终解决了这个问题。
I finally figured the answer out to this. Specific versions (but not all) of Telerik's JustCode was causing this. Upgrading, disabling, or uninstalling JustCode finally made this problem go away.