vscode-open
vscode-open copied to clipboard
Added WSL support
Hi, your plugin didn't work as expected on WSL environment and I've tried to make it work.
One thing to consider is that it uses $WSL_DISTRO_NAME environment variable to detect the WSL distro name which is available since WSL builds 18362 (WSL2). So it might not work for older builds.
@Indlgo - thanks for the work on this mate. My wife is terminally ill atm, so don't have much time to look at it - have you done much testing with your version? Happy to merge in if you think its stable
Beside the first commit (https://github.com/sandcastle/vscode-open/pull/17/commits/4395c0ddf629f7c6caa2ec72c94e71316f3ec7be), please ignore all other changes.
I needed to use the WSL-related feature and as I thought you're inactive, I published forked version separately. All commits after the first are related to it.