WSL full support
complete
B
Brennan Cheung
Ok, looks like you have to open Windsurf normally and THEN open the remote connection in the bottom left of status bar. You have to open the folder manually each time by clicking the "Open Folder" button and then navigating to the folder. There's a list of previous projects below the "Open Folder" that has the project within WSL but clicking it will not open it with WSL set up correctly. The ONLY way to get it to work is to manually click open folder and navigate to your repo that way.
Clicking the previous project (even that worked previously in WSL) DOES NOT WORK.
Also, typing "windsurf ." within your Ubuntu WSL2 shell DOES NOT WORK.
The ONLY way to make WSL work is the following:
- Open Windsurf editor
- Click bottom left remote connection
- Click Open Folder
- Navigate to folder
Existing bugs that still need to be fixed:
- "windsurf ." within WSL terminal doesn't work. It opens and you can edit code, but npm packages aren't being found still.
- Clicking the workspace to re-open the repo does not work. It even says [WSL: Ubuntu-20.4] in the workspace name. Nope, still doesn't work. It opens the folder but has same issue with npm packages not being found. The remote connection status doesn't show WSL like it should. Opening a previous workspace needs to also connect to WSL.
B
Brennan Cheung
npm packages are still not being found when I open a folder within WSL2. When I check out the same project on NTFS directly it works fine. Am I missing something? This feature is still not working.
Can you clarify if this is only WSL and not WSL2? I use WSL2 (as are probably most). Also, if it helps, pnpm might be doing symlinks within the WSL2 ext4 filesystem. The WSL2 VM is Ubuntu 20.
Rohan Phadte
complete
Now available in the latest Windsurf 1.1.0 now has WSL Support (in Beta)!
If you want further WSL features, feel free to open another Canny post for visibility.
Andy Ballingall
In the docs... 'WSL Coming soon'. Is this really done?
Sander Pilon
First thing I noticed too. All my projects are in WSL2. So Windsurf .... useless without it.
Y
Yassine Boumiza
You guys gave me 2 weeks trial but I can't try because I use exclusively wsl...
M
Matt Lawson
WSL2 is critical. Any serious developer on Windows would not code without WSL. SeriSeriously,ously this is a huge fail!!!
S
Serge
I always get 0 results when it searches via folder instead of codebase, sounds like could be related to this?
KREDEX
Serge same , yes it is related to this
Sven Boden
Try as workaround. The path to my codebase is "\\wsl.localhost\...." ... in Windsurf 1.1.0 it does work after that.
S
Serge
Sven Boden thank you! will test. I noticed adding a folder with less subfolders/files seems to improve the 0-results issue
Michael Nichols
+1 to this, WSL support would really open this up.
Emiliano Parizzi
I can't use Windsurf unless WSL2 is fully supported. It should be easy to add as with any VS Code fork (i.e. Cursor)
Load More
→