问题描述
我不知道这是在最新更新中发生还是我不小心按下了快捷键,但是当我尝试转到(CTRL +逗号)时,关键字不会在路径上过滤的文件了.
这是一个大问题,因为很多HTML文件都被称为Index.cshtml,但它们位于相关文件夹中.
Areas\Competitions\Views\Graph\Index.cshtml
Areas\Competitions\Views\Teams\Index.cshtml
Areas\Competitions\Views\Athletes\Index.cshtml
当我搜索索引图html" 时,它返回空值.这是新引入的错误/功能还是我不小心碰到了一些奇怪的设置?
更新
我发现它在文件名 OR 的路径中搜索 OR .
我的版本为 VisualStudio.15.Release/15.3.3 + 26730.12 .谁能告诉我他们是否有这个版本以及这个错误?
我无法从网站上下载任何较旧的版本.
我已经与Microsoft一起填写了一个错误报告,但他们只是告诉我,这个问题不会在即将发布的版本中得到解决".之后,没有任何反应了.
由于这是一个巨大的生产力杀手,我需要知道是否需要寻找替代方案.
要在Visual Studio中过滤文件,可以使用 + 和其他替代方法. :
-
通过按快捷键 + + 过滤路径文件,将打开VS的CMD,然后键入打开您的文件名" ,例如:
-
在 Solution Explorer 搜索栏中使用热键 + ,也可以单击它并键入搜索的关键字./p>
- 在VS中安装加载项 ReSharper ,通过安装,您可以分析或过滤您的代码或文件.
- 按 + + 会出现一个弹出窗口,您可以在此处开始搜索喜欢:
I don't know if this happened in the latest update or that I accidently hit a shortcut, but when I try Go To (CTRL+Comma) the keywords don't filter on the path of the file anymore.
This is a big problem because a lot of Html files are called i.e. Index.cshtml but are in a relevant folder.
Areas\Competitions\Views\Graph\Index.cshtml
Areas\Competitions\Views\Teams\Index.cshtml
Areas\Competitions\Views\Athletes\Index.cshtml
When I search for "index graph html" it returns empty. Is this a newly introduced bug/feature or did I accidently hit some strange setting?
UPDATE
I found that it searches for OR the path OR the file name.
I have version VisualStudio.15.Release/15.3.3+26730.12. Can anyone tell me if they have this version and also this bug?
I can't download any older versions from the website.
I've filled in a bug report with Microsoft, but they just tell me that this 'issue will not be addressed in the upcoming release'. After that no response anymore.
As this is a huge productivity killer I need to know if I need to look for alternatives.
To filter your files in Visual Studio, you can use + and other alternatives that are:
Filter your files with path by pressing shortcut keys + + will open VS's CMD and then type "open youfilename" like:
Use hotkeys + in Solution Explorer search bar or you can simply click on it and type searched keywords.
- Install a add-in ReSharper in your VS and by installing you can analyze or filter your code or files.
- Press + + a popup will appear and you can start searching there like:
这篇关于Visual Studio转到/导航到/搜索解决方案资源管理器-不搜索文件路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!