VS 2019 Ctrl + 的行为与 VS 2017 不同
VS 2019 Ctrl + , is not behaving as VS 2017
我记得如果我在 VS 2017 中键入 Ctrl + ,
我可以导航到几乎所有具有键入字符的内容,但在 VS 2019 中它只搜索文件。
这是 2019 年的样子
但在 2017 年它建议使用 UserController
文件,因为它包含该方法!
我怎样才能恢复该功能?
新的 Visual Studio 2019 header 搜索框位于屏幕顶部,旨在查找 Visual Studio 中的任何内容 — 包括菜单项、设置、工具 windows 等等。该工具使用模糊搜索 return 即使您输入错误也是正确的信息。
如 this 博客所述 post:
It turned out the issue was related to NuGet; what I needed to do was
delete the contents of the packages folder. For completeness's sake,
here's the steps to do what I did.
Close all instances of Visual Studio 2019. Delete the contents of the
packages folder at the root of your solution on your local machine.
Open Visual Studio 2019 again. This final solution worked for me. I
am including the potential solutions in this post in the hopes that
one of them (actual or potential) works for you, dear reader. Let me
know if you have any other solutions in the comments!
删除本地 nuget 包对我有用。
我记得如果我在 VS 2017 中键入 Ctrl + ,
我可以导航到几乎所有具有键入字符的内容,但在 VS 2019 中它只搜索文件。
这是 2019 年的样子
但在 2017 年它建议使用 UserController
文件,因为它包含该方法!
我怎样才能恢复该功能?
新的 Visual Studio 2019 header 搜索框位于屏幕顶部,旨在查找 Visual Studio 中的任何内容 — 包括菜单项、设置、工具 windows 等等。该工具使用模糊搜索 return 即使您输入错误也是正确的信息。
如 this 博客所述 post:
It turned out the issue was related to NuGet; what I needed to do was delete the contents of the packages folder. For completeness's sake, here's the steps to do what I did.
Close all instances of Visual Studio 2019. Delete the contents of the packages folder at the root of your solution on your local machine. Open Visual Studio 2019 again. This final solution worked for me. I am including the potential solutions in this post in the hopes that one of them (actual or potential) works for you, dear reader. Let me know if you have any other solutions in the comments!
删除本地 nuget 包对我有用。