Vnu*_*uuk 30 visual-studio-code
我不知道是否有一个快捷的VS代码,突出在解决方案资源管理树当前打开的文件.就像我们在Visual Studio中一样:
Alt + Shift + L
Run Code Online (Sandbox Code Playgroud)
Ted*_*Ted 38
无法忍受没有完整的答案,所以想出以下几点:
没有直接键盘快捷键:
Files: Reveal Active File in Side Bar.然后,取上面的内容并将键盘快捷键映射到它:
Preferences: Open Keyboard Preferences File.// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+alt+l",
"command": "workbench.files.action.showActiveFileInExplorer",
},
]
Run Code Online (Sandbox Code Playgroud)
请注意,它不如Visual Studio,Atom等,因为您无法使用树中的箭头键导航(箭头键导航活动文件内容),但我想我最终会弄明白该怎么做那.
Rob*_*ens 33
我不认为有这样的命令,但是有一个快捷方式可以在打开它时启用/禁用显示当前文件:
"explorer.autoReveal": true
Mar*_*ark 11
尝试这个:
连同@Rob的正确答案:
"explorer.autoReveal": true
Run Code Online (Sandbox Code Playgroud)
然后Ctrl- - Shift(E 显示浏览器)集中在Explorer中文件和arrow密钥将导航上/下/左/右喜欢任何列表。这个工程即使Explorer是之前关闭Ctrl- - 。ShiftE
Ctrl- Shift- E有,它会切换以及高亮显示的文件和编辑之间的焦点额外的奖励。
我能够通过使用workbench.files.action.focusFilesExplorer键绑定自定义命令来实现这一点Alt+ shift+L
| 归档时间: |
|
| 查看次数: |
12168 次 |
| 最近记录: |