[英]Autocomplete stops working Accord.Math, Visual Studio 2019, C#
After installing the latest VS patch, autocomplete stopped working.安装最新的 VS 补丁后,自动完成功能停止工作。 It consistently gets a thread burning CPU (i9-9880H) for 57 seconds, after which it offers the autocomplete list.
它始终获得一个线程燃烧 CPU (i9-9880H) 57 秒,之后它提供自动完成列表。
I found a consistent way of turning this delay on and off;我找到了一种打开和关闭延迟的一致方法; importing the NuGet package "Accord.Math".
导入 NuGet package “Accord.Math”。 Note that for example MathNet.Numerics has not the same problem as I've tried to only remove this package instead - didn't help.
请注意,例如 MathNet.Numerics 与我尝试仅删除此 package 的问题不同 - 没有帮助。
It happens on all variables, even in files where Accord.Math is not imported.它发生在所有变量上,即使在未导入 Accord.Math 的文件中也是如此。 Here is an example of a double:
这是一个双倍的例子:
Other things I've tried which didn't work:我尝试过的其他事情没有奏效:
I haven't installed any plugin (ie ReSharper), and it's Visual Studio Professional 2019, Version 16.6.2我还没有安装任何插件(即 ReSharper),它是 Visual Studio Professional 2019,版本 16.6.2
How could I fix the lag while keeping Accord.Math?在保持 Accord.Math 的同时如何解决滞后问题?
Is there a way to disable all the extension methods in a specific library from taking part in the autocomplete?有没有办法禁止特定库中的所有扩展方法参与自动完成?
I've the same problem.我有同样的问题。 A temporary way to get rid of the "cpu burning" is to delete the package "Accord.Math.3.8.0" with the file explorer before starting vs2019.
摆脱“cpu烧”的一个临时方法是在启动vs2019之前用文件资源管理器删除package“Accord.Math.3.8.0”。 But after each built the package will be reloaded and then the problem occurs again.
但是每次构建 package 后都会重新加载,然后问题再次出现。
I would be highly interested in a stable solution too.我也会对稳定的解决方案非常感兴趣。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.