vscode-open icon indicating copy to clipboard operation
vscode-open copied to clipboard

Added WSL support

Open nxht opened this issue 3 years ago • 2 comments

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.

nxht avatar May 27 '21 20:05 nxht

@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

sandcastle avatar Jun 08 '21 08:06 sandcastle

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.

nxht avatar Jun 09 '21 09:06 nxht