A VS Code extension that seamlessly opens Windows File Explorer from Remote-SSH, allowing you to reveal files and folders in the native Windows file manager with a simple right-click or keyboard shortcut.
Forked from: https://github.com/doonfrs/vscode-wsl-reveal-explorer
- Context Menu Integration - Right-click any file or folder to reveal it in Windows Explorer
- Keyboard Shortcut - Default keybinding
Shift+Alt+Rto reveal the currently open file in Windows Explorer - Reliable Path Translation - Converts UNIX paths to Windows-compatible UNC paths
- Visual Studio Code running in Remote-SSH mode
Configuration
- Open VS Code in Remote-SSH - Connect to a Remote-SSH host.
- Configure network path prefix - Set the
remote-ssh-reveal-explorer.networkPathvariable in the settings (globally or per workspace), e.g.:\\host. - Configure remote path prefix stripping - If needed, set the
remote-ssh-reveal-explorer.pathPrefixToStripvariable in the settings (globally or per workspace).
There are two ways to trigger the extension:
1. Context Menu (Right-Click):
- Right-click any file or folder in the VS Code explorer panel or editor title bar.
- Select "Remote-SSH Reveal in File Explorer" from the context menu.
- Windows File Explorer opens showing the selected file/folder location.
2. Keyboard Shortcut:
- Press
Shift+Alt+Rwhen a file is open in the editor. - Windows File Explorer opens showing the selected file/folder location.
To contribute or modify this extension:
# Clone the repository
git clone <repository-url>
cd vscode-remote-ssh-reveal-explorer
# Open in VS Code
code .
# Press F5 to run in Extension Development Host
# Test the functionality by right-clicking files in the explorerThis project is licensed under the MIT License - see the LICENSE file for details.
Sebastien Baillou
Feras Abdalrahman (WSL Reveal in File Explorer author)