如何在Visual Studio Code中搜索文件? [英] How do I search for files in Visual Studio Code?

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

问题描述

我习惯于Resharper,在这里我可以搜索文件,而不是内容,而是文件名,从而可以快速打开新文件.

I am used to Resharper where I can search for files, not the content, but the filename, which makes it quick to open new files.

此功能是否已在Visual Studio Code中实现,并且它有快捷方式吗?

Is this feature implemented in Visual Studio Code and is there a shortcut for it?

推荐答案

使用转到菜单下的转到文件... 或使用键盘快捷键:

Using Go to File... which is under the Go menu or using keyboard shortcut:

  • 在Windows上 Ctrl + p Ctrl + e
  • 在macOS Cmd⌘ + p
  • 在Linux上 Ctrl + p Ctrl + e
  • On Windows Ctrl+p or Ctrl+e
  • On macOS Cmd ⌘+p
  • On Linux Ctrl+p or Ctrl+e

然后输入文件名.

还要确保签出您可以设置自己的键绑定,并且适用于 Windows Linux .

Also be sure to checkout that you can set your own keybindings and that there are cheatsheets available for Windows, macOS and Linux.

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

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