简体   繁体   English

通过键盘在VSCODE中打开文件

[英]Open a file in VSCODE from keyboard

I am just testing VSCODE. 我只是在测试VSCODE。 I want to open a file from the keyboard. 我想从键盘上打开一个文件。 To my surprise it is a bit difficult. 令我惊讶的是,这有点困难。 Try this: 尝试这个:

  1. Ctrl-O (Opens the file dialog. This puts cursor focus in the "File name" field.) Ctrl-O (打开文件对话框。这会将光标放在“文件名”字段中。)
  2. Shift-Tab (To try to go backwards to the list of files.) Shift-Tab (尝试返回到文件列表。)

At this point I am stuck. 在这一点上我被困住了。 Cursor focus is now not in the list of files, but in the headings above it. 现在,光标焦点不在文件列表中,而是在其上方的标题中。 If I try Tab I just get back to the "File name" field. 如果尝试使用Tab键,我将回到“文件名”字段。

How do I go to the list of files with the keyboard? 如何使用键盘转到文件列表?

UPDATE: This is on Windows 10. 更新:这是在Windows 10上。

UPDATE 2: Issued a bug report, https://github.com/Microsoft/vscode/issues/63260 更新2:发布了错误报告, https://github.com/Microsoft/vscode/issues/63260

As step 2, can you try using up-arrow or down-arrow key directly without using tab. 作为第2步,您是否可以尝试直接使用向上箭头或向下箭头键而不使用制表符。 It works this way on my mac. 它在我的Mac上以这种方式工作。 you can give it a try. 您可以尝试一下。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM