Visual Studio 2012/2013缓慢的“列出成员"智能感知 [英] Visual Studio 2012/2013 Slow "List Members" Intellisense

查看:119
本文介绍了Visual Studio 2012/2013缓慢的“列出成员"智能感知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2012(Premium,Update 3,ReSharper 8)在VB.Net中进行编码.我停用了ReSharper智能感知,并且我正在使用标准的VS智能感知.

I am coding in VB.Net using Visual Studio 2012 (Premium, Update 3, ReSharper 8). I have the ReSharper intellisense deactivated and I am using the standard VS intellisense.

一段时间以来,我一直在遇到严重的智能感知性能问题.我的问题似乎特定于智能感知的列表成员"子集.几乎每次列表成员智能感知被激活时,加载和显示列表大约需要2秒钟.该应用程序将挂起,直到显示了成员列表.

For a while now I have been experiencing serious intellisense performance problems. My issue appears to be specific to the "List Members" subset of intellisense. Almost every time list members intellisense is activated it is taking around 2 seconds to load and display the list. The application hangs until the member list has been displayed.

我使用Process Monitor来诊断问题,并且每次显示成员列表时,Visual Studio高速缓存似乎都在与解决方案中的各种文件进行数千次文件交互.这些文件交互中的大多数似乎都集中在T4模板和VS生成的设计器文件生成的代码上.我无法在线找到有关此问题的任何信息.

I used Process Monitor to diagnose the issue and it appears that the Visual Studio cache is performing thousands of file interactions with various files in my solution every time it displays the member list. Most of these file interactions seem to be focused around generated code from T4 templates and VS-generated designer files. I have not been able to find any information about this problem online.

还有没有其他人看到过此性能问题并找到了解决方案?

Has anyone else seen this performance issue and discovered a solution to it?

推荐答案

我遇到了同样的问题.每当我开始输入html标签的class(或style)属性时,大约需要10秒钟才能显示intellisense菜单.

I had the same problem. It would take about 10 seconds to display the intellisense menu whenever I started typing in an html tag's class (or style) attribute.

我尝试删除.suo文件.我看着VS重新生成缓存大约30秒钟.但是它仍然会发生.也许对我而言至少是将这些内容加载到智能感知列表中.

I tried deleting my .suo file. I watched VS regenerate the cache for about 30 seconds. But it still occurs; perhaps the issue for me at least was just loading the items in the intellisense list.

我禁用了BrowserLink并没有对其进行修复.

I disabled BrowserLink and didn't fix it.

因此,通过在文本编辑器" |文本编辑器"中取消选中Auto List Members,我实际上关闭了HTML文件的智能感知功能. HTML |常规选项卡.不再有烦人的停顿了..也不再有智能感知了,但是对我来说很好.

So, I effectively turned intellisense off for HTML files by un-checking Auto List Members in the 'Text Editor | HTML | General' tab. No more annoying pause.. no more intellisense either, but for me that is just fine.

这篇关于Visual Studio 2012/2013缓慢的“列出成员"智能感知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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