简体   繁体   English

自动完成功能停止工作 Accord.Math、Visual Studio 2019、C#

[英]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:这是一个双倍的例子:

Accord.Math 自动完成示例

Other things I've tried which didn't work:我尝试过的其他事情没有奏效:

  • Repairing VS修复VS
  • Reinstalling VS重新安装 VS
  • Installing the previous patch of VS 2019安装VS 2019以前的补丁
  • Updating all NuGet packages to latest version将所有 NuGet 软件包更新到最新版本
  • Installing Accord.Math on other projects of the solution instead而是在解决方案的其他项目上安装 Accord.Math

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.

相关问题 Visual Studio 2019 C# 突出显示不起作用? - Visual Studio 2019 C# highlighting not working? MS Visual Studio 2019 C# 智能感知建议未显示,但按 Tab 键时自动完成工作正常 - MS Visual Studio 2019 C# intellisense suggestions not showing up, but autocomplete when pressing tab is working 从 Visual Studio 2019 中的 C# 解决方案返回 cmake 项目时,Resharper 智能感知停止工作 - when going back to cmake project from C# solution in visual studio 2019 Resharper intellisense stops working 如何在Accord.Math矩阵类中使用MeshGrid方法? - How to use MeshGrid method in Accord.Math Matrix Class? editorConfig 命名约定不起作用 c# Visual Studio 2019 16.4.2 - editorConfig Naming Convention not working c# visual studio 2019 16.4.2 C#自动完成功能不适用于Visual Studio中的Script# - C# autocomplete not working for Script# in visual studio Visual Studio 代码的自动完成功能不适用于 C#/Unity - Autocomplete for visual studio code not working for C#/Unity 自动完成的Lambda表达式(使用像函数参数一样的函数)(C#,Visual Studio 2019) - Autocomplete lambda expression (when it used like functions parameter) (C#, Visual Studio 2019) 在 Visual Studio 2019 上为 C# 安装 JetEntityFrameWorkProvider - Install JetEntityFrameWorkProvider on Visual Studio 2019 for C# Visual Studio 2019:C# 版本 - Visual Studio 2019: C# Version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM