Open in WSL Terminal
Quickly open any folder in a WSL (Windows Subsystem for Linux) terminal directly from VS Code's Explorer context menu.
Features
- Right-click to Open: Right-click on any folder in the Explorer and select "Open in WSL Terminal"
- Smart Path Conversion: Automatically converts Windows paths to WSL-compatible paths
- Regular Windows paths (e.g.,
C:\Users\...) → /mnt/c/Users/...
- WSL network paths (e.g.,
\\wsl.localhost\Ubuntu\...) → /...
- Seamless Integration: Opens a new WSL terminal with the selected folder as the working directory
Requirements
- Windows 10/11 with WSL installed
- WSL distribution configured (Ubuntu, Debian, etc.)
wsl.exe available in your system PATH
Usage
- In VS Code's Explorer, right-click on any folder
- Select "Open in WSL Terminal" from the context menu
- A new WSL terminal will open with the folder as the current directory
Installation
From VS Code Marketplace (Coming Soon)
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Open in WSL Terminal"
- Click Install
Manual Installation
- Download the
.vsix file from the releases
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Click the "..." menu → "Install from VSIX..."
- Select the downloaded
.vsix file
Known Issues
Currently no known issues. Please report any bugs on the GitHub Issues page.
Release Notes
0.0.1
- Initial release
- Added context menu command for folders
- Support for Windows and WSL network paths
Following extension guidelines
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
Working with Markdown
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
- Toggle preview (
Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
- Press
Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!
| |