简体   繁体   English

使用键盘在VSCode Explorer中打开文件

[英]Opening file in VSCode Explorer using keyboard

When I press Command+Shift+E (Mac) to set focus to the explorer in Visual Studio Code, I can navigate using the up and down keys to select a file, but I can't open the file in the editor. 当我按Command + Shift + E(Mac)在Visual Studio Code中将焦点设置为资源管理器时,我可以使用向上和向下键进行导航以选择一个文件,但无法在编辑器中打开该文件。 I can press Enter to rename it, but I couldn't find a way to open the file using the keyboard. 我可以按Enter重命名,但是找不到使用键盘打开文件的方法。 Is there a way? 有办法吗?

Correct shortcut to open a file is: CMD+down 打开文件的正确快捷方式是:CMD +向下

Just for the record, this is the standard shortcut in any properly behaving OSX application, for example Finder.app (and it's the reason why Return/Enter renames a file) 仅作记录,这是任何行为正常的OSX应用程序(例如Finder.app)中的标准快捷方式(这是Return / Enter重命名文件的原因)

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

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