IntelliSense in Visual Studio 2010 RC freezing

主宰稳场 提交于 2019-12-14 04:17:26

问题


Every time I try to write something, IntelliSense freezes Visual Studio and I have to wait like 2 minutes for it to show code completion list. The only way I can work with is turning it completly off. **`

I've already installed the last IntelliSense patch from Microsoft but the problem doesn't seem to have gotten any better.

Anyone had the same issue or knows what might be the problem? I'm using C#. I have a freshly installed version of Visual Studio 2010 RC, with no ReSharper, on a clean formated computer.

Thanks


回答1:


Sounds like you are using UIA 2.0 (the default on XP and maybe Vista, I think). If possible, can you try upgrading to UIA 3.0?

The problem is that UIA 2.0 doesn't support virtualization, so the (rather large) completion lists have automation peers created for each item, and the algorithm that does this doesn't scale very well. UIA 3.0 supports virtualization, so only the list items that are visible have automation peers created.




回答2:


Possibly it's this bug:

https://blogs.msdn.com/visualstudio/archive/2010/02/09/intellisense-crash-in-ui-automation.aspx

If so, there's a patch available on that page.



来源:https://stackoverflow.com/questions/2270955/intellisense-in-visual-studio-2010-rc-freezing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!