如何在 Visual Studio 代码中仅搜索特定文件类型? [英] How to search for just a specific file type in Visual Studio code?

查看:37
本文介绍了如何在 Visual Studio 代码中仅搜索特定文件类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Visual Studio 代码中,如何仅搜索特定文件类型(即 *.css*.ts)?

In Visual Studio code, how do I search for just a specific file type (i.e. *.css or *.ts)?

PS:我说的是全局搜索(Windows 中的 Ctrl+Shift+F)

PS: I'm talking about the global search (Ctrl+Shift+F in Windows)

我已经在使用要包含的文件"作为文件夹过滤器.所以目前它有类似 ./src/app.

I'm already using the "files to include" as a folder filter. So currently it has something like ./src/app.

推荐答案

单击右下角的省略号以显示要包含的文件"字段.

Click the ellipses on the bottom right to display the "files to include" field.

您可以使用*.filetype"指定特定类型.

You can specify a particular type with "*.filetype".

例如

这篇关于如何在 Visual Studio 代码中仅搜索特定文件类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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