Is there a shortcut to show current file in sidebar with focus on that file (when sidebar is closed)? Basicaly combination of workbench.files.action.showActiveFileInExplorer
and workbench.files.action.focusFilesExplorer
Like in Resharper Shift+Alt+L
: https://www.jetbrains.com/help/resharper/Navigation_and_Search__Locating_a_File_in_Solution_Explorer.html
Extension macros:
settings.json Ctrl+,
"macros": {
"showFileAndFocus": [
"workbench.files.action.showActiveFileInExplorer",
"workbench.files.action.focusFilesExplorer"
]
}
keybindings.json
{
"key": "shift+alt+l",
"command": "macros.showFileAndFocus"
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With