Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>WSL Reveal in File ExplorerNew to Visual Studio Code? Get it now.
WSL Reveal in File Explorer

WSL Reveal in File Explorer

FERAS A. S.

|
6 installs
| (0) | Free
Seamlessly open Windows File Explorer from WSL with zero configuration. Right-click any file or folder to reveal it in Windows Explorer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WSL Reveal in File Explorer

Demo

A VS Code extension that seamlessly opens Windows File Explorer from WSL, allowing you to reveal files and folders in the native Windows file manager with a simple right-click.

☕ Support

If this extension helps you, consider supporting the development:

Buy Me A Coffee

Your support helps maintain and improve this extension!

🚀 Features

  • Zero Configuration Required - Works out of the box with any WSL distribution
  • Context Menu Integration - Right-click any file or folder to reveal it in Windows Explorer
  • Automatic WSL Detection - Dynamically detects your WSL distribution name
  • Reliable Path Translation - Converts WSL paths to Windows-compatible UNC paths
  • Cross-Distribution Support - Works with Ubuntu, Debian, Alpine, and other WSL distributions

📋 Prerequisites

  • Windows Subsystem for Linux (WSL) or WSL2
  • Visual Studio Code running in WSL mode
  • PowerShell available on Windows (included by default)

🌟 Show Your Support

If you find this extension useful:

  • ⭐ Star this repository on GitHub
  • 📝 Leave a review on the VS Code Marketplace
  • ☕ Buy me a coffee to support development: buymeacoffee.com/doonfrs

Every star, review, and coffee means a lot and helps keep this project alive! 🚀

🎯 Usage

  1. Open VS Code in WSL - Make sure you're running VS Code in WSL mode
  2. Right-click any file or folder in the VS Code explorer panel
  3. Select "Reveal in File Explorer" from the context menu
  4. Windows File Explorer opens showing the selected file/folder location

That's it! No configuration needed.

🔧 How It Works

The extension automatically:

  • Detects your WSL distribution name
  • Converts Linux paths to Windows UNC format (\\wsl$\Distribution\path)
  • Uses PowerShell to reliably open Windows File Explorer
  • Handles path escaping and special characters

🛠️ Development

To contribute or modify this extension:

# Clone the repository
git clone <repository-url>
cd vscode-wsl-reveal-explorer

# Open in VS Code
code .

# Press F5 to run in Extension Development Host
# Test the functionality by right-clicking files in the explorer

🐛 Troubleshooting

If the extension doesn't work:

  1. Ensure you're running VS Code in WSL mode (not Windows)
  2. Verify that PowerShell is available on your Windows system
  3. Check that Windows File Explorer can access \\wsl$\<distribution> paths manually

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👨‍💻 Author

Feras Abdalrahman

  • GitHub: @doonfrs
  • VS Code Marketplace: doonfrs
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft