posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.63k stars 81 forks source link

Add support for connecting Positron to Windows Services for Linux (WSL) Ubuntu #4366

Open jmcphers opened 2 months ago

jmcphers commented 2 months ago

We recently added support to Positron for connecting to Linux hosts over SSH; however, this support does not currently extend to WSL. Many Windows users prefer to run R and Python in WSL Ubuntu instances.

OpenVSX includes an extension that can be used to do this for VSCodium:

https://github.com/jeanp413/open-remote-wsl

However, like Open Remote SSH, it would need some modification to work with Positron.

[!NOTE] This specifically refers to running Positron Desktop natively on Windows, and connecting to a headless server component inside WSL. It doesn't mean running a Positron Server in WSL and connecting via a web browser, or running Positron Desktop itself wholly in WSL.

GitHunter0 commented 1 week ago

WSL connection is a very helpful feature. Cursor IDE managed to make Microsoft WSL extension to work, I'm not sure but maybe you can use it as a reference.