The WSL system makes a great convenience of development on Windows.But the integretion to IDEs and code editors is not convenient.
The project wslgit makes a dummy exe that trying to receive the arguments and translating all paths from windows type to unix type, and reform these arguments to the real command in wsl .
This shows a way to use wsl application in windows enviroment for IDEs and code editors. But the project is made for git only. I made a bit change using the file stem name as the real command. And it works!
- download the wslexe.exe
- rename it to the command you want to use, for example pyhon.exe
- change your ide or editor config to point to the executable file
- if you have a ".wslexerc" in the path where the executable file exists, it will be sourced before the real command
- python.exe
- vscode
- powershell
- composer.exe
- phpstorm
- php.exe
- phpstorm
- git.exe
- vscode
- powershell