VS2017 Intellisense 很慢,有时会崩溃,有什么建议吗? [英] VS2017 Intellisense is slow and sometimes it crashes, any suggestions?

查看:168
本文介绍了VS2017 Intellisense 很慢,有时会崩溃,有什么建议吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 VS2017 的社区版.版本 15.2(26430.14),这是截至 2017 年 7 月 7 日的最新更新.Intellisense 偶尔会很慢,并且会阻止我的编码工作的正常进度.它似乎在等待大约 10 到 20 秒后醒来".但是今天,它崩溃了,活动日志显示了此信息.

I'm working with the community edition of VS2017. Version 15.2(26430.14) which is the latest update as of 07/Jul/2017. Intellisense is sporadically slow, and stops normal progress of my coding effort. It seems to "wake up" after about a 10 to 20 second wait. But today, it crashed, and the activity log showed this information.

 <entry>
<record>1709</record>
<time>2017/07/06 00:17:33.497</time>
<type>Error</type>
<source>Editor or Editor Extension</source>
<description>System.InvalidOperationException: Cannot Match.  The session is dismissed.&#x000D;&#x000A;   
at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.Match()&#x000D;&#x000A;  
at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.OnViewBuffer_Changed(Object sender, TextContentChangedEventArgs e)&#x000D;&#x000A;  
at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)

当时我正在编辑 XAML 并将绑定添加到 ContextMenu 的 IsOpen 属性.关闭编辑器并重新打开后,它工作正常...

At the time I was editing XAML and adding a Binding to the IsOpen property of a ContextMenu. After closing the editor and reopening, it worked fine...

我已经删除了除 Code Maid 之外的所有插件,我接下来会尝试.不过,我正在寻找解决这个问题的建议.

I've removed all Plug-ins but Code Maid, which I'll try next. However, I'm looking for suggestions to this hiccup.

推荐答案

这个问题的根本原因是新版本的 CCleaner 云版.一旦我删除了这个软件,所有智能感知缓慢和崩溃的问题都停止了!

The root cause of this problem was the new version of CCleaner Cloud Edition. Once I removed this software the problem all intellisense slowness and crashes ceased!

这篇关于VS2017 Intellisense 很慢,有时会崩溃,有什么建议吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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