Open current editing file in explorer tree
我想知道是否有 VS Code 的快捷方式在解决方案资源管理器树当前打开的文件中突出显示。就像我们在 Visual Studio 中一样:
| 1 | Alt + Shift + L | 
不能没有完整的答案,所以想出了以下几点:
没有直接的键盘快捷键:
然后,使用上面的方法并将键盘快捷键映射到它:
| 1 2 3 4 5 6 7 | // Place your key bindings in this file to overwrite the defaults       [ { "key":"shift+alt+l", "command":"workbench.files.action.showActiveFileInExplorer", }, ] | 
请注意,它不如 Visual Studio、Atom 等,因为您不能在树中使用箭头键导航(箭头键导航活动文件内容),但我想我\\最终会想办法做到这一点。
我不认为有这样的命令,但是有一个快捷方式可以启用/禁用在打开当前文件时显示它:
n
n
n
我可以通过使用键绑定 Alt shift L
 自定义 
n
n
n