VSCode:在项目中打开文件 [英] VSCode: Open file in project

查看:48
本文介绍了VSCode:在项目中打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Mac OS X 和 Visual Studio Code 0.10.10.

I'm using Mac OS X with Visual Studio Code 0.10.10.

如何使用键盘在当前打开的项目中使用部分名称打开文件?我在命令面板中找不到可以执行此操作的命令.有一个命令可以对工作文件执行此操作(请参见屏幕截图),但对于当前打开的项目不是.

How do I use the keyboard to open a file, using its partial name, in the currently open project? I can't find a command in the Command Palette that would enable me to do this. There is a command that does this for Working Files (see screenshot), but not for the currently open project.

推荐答案

> 前缀用于在 VSCode 中运行命令.要打开当前项目中的文件,请按 Cmd + P 并键入所需文件的完整/部分名称.VSCode 使用模糊搜索,因此您甚至可以避免输入中的拼写错误.

> prefix is for running commands in VSCode. To open a file in the current project press Cmd + P and type the full / partial name of the wanted file. VSCode uses fuzzy search, so you can even get away with typos in your input.

这篇关于VSCode:在项目中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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