From cb5a34ac9515929ffb724e4fa14fe9f98e5ff76e Mon Sep 17 00:00:00 2001 From: Arity-T Date: Mon, 18 Aug 2025 14:42:53 +0300 Subject: [PATCH] Reveal File in Explorer View hotkey --- docs/VS-Code/hotkeys.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/VS-Code/hotkeys.md b/docs/VS-Code/hotkeys.md index 95e5a24..8f74f9a 100644 --- a/docs/VS-Code/hotkeys.md +++ b/docs/VS-Code/hotkeys.md @@ -40,6 +40,10 @@ - `alt + d` - перейти к определению. +Обычно я отключаю `explorer.autoReveal` в настройках, чтобы боковая панель с проводником не изменялась, когда я переключаюсь по файлам. Если мне всё-таки требуется выделить открытый файл в `Explorer View`, то я использую дополнительное сочетание клавиш. + +- `alt + shift + r` - показать открытый файл в `Explorer View`. + ```json [ { @@ -56,6 +60,11 @@ "key": "alt+d", "command": "editor.action.revealDefinition", "when": "editorHasDefinitionProvider && editorTextFocus" + }, + { + "key": "shift+alt+r", + "command": "workbench.files.action.showActiveFileInExplorer", + "when": "editorTextFocus" } ] ``` \ No newline at end of file