在Visual Studio Code中按名称查找文件 [英] Find a file by name in Visual Studio Code

查看:51
本文介绍了在Visual Studio Code中按名称查找文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Visual Studio代码中按名称查找文件?

How can I find a file by name in Visual Studio Code?

我习惯使用的Visual Studio快捷方式是 CTRL + ,但是在这里不起作用.

A Visual Studio shortcut I'm used to is CTRL+,, but it does not work here.

推荐答案

在工作区中打开文件夹后,您可以执行 Ctrl + P (在Mac上为Cmd + P ),然后开始输入文件名或扩展名以过滤文件名列表

When you have opened a folder in a workspace you can do Ctrl+P (Cmd+P on Mac) and start typing the filename, or extension to filter the list of filenames

如果有:

  • plugin.ts
  • page.css
  • plugger.ts

您可以键入 css 并按Enter,它将打开 page.css .如果键入 .ts ,该列表将被过滤并包含两项.

You can type css and press enter and it will open the page.css. If you type .ts the list is filtered and contains two items.

这篇关于在Visual Studio Code中按名称查找文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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