-
Notifications
You must be signed in to change notification settings - Fork 34
Use Windows FSharp within Windows Subsystem for Linux #97
Comments
Forgive my ignorance, what is WSL? |
@kjnilsson WSL = Windows Subsystem for Linux. It is Microsoft's ability to run a mostly-full linux in Windows userspace; substantially nicer than Cygwin, since it will actually run Linux binaries without a recompilation. |
I don't have any such system to test on so support for WSL would have to come from a contribution. PR's welcome. |
@Tombert i use WSL. i'd like to test vim plugin there. I'll followup when i try (soon). |
@enricosada I do not have Mono installed; WSL can actually run native Windows apps now, so theoretically it should be able to run my native windows install instead of the simulated Mono version, right? |
yes, you can run v-- problem is, FSAC doesnt check the OS atm for some behaviour it need to do differently. as a workaround, try isntall mono on WSL. so vim run |
@enricosada how hard would it be to add a check for the host OS to see if it's WSL? I'd be happy to do a PR if you point me in the right direction. |
@Tombert but when in WSL, running FSAC in windows, is a nice use case. WSL: linux tooling and vim, but windows .NET. a good combo. can you open an issue in https://github.com/fsharp/FsAutoComplete/issues/ ? but we need a way to detect we are started from WLS.. |
exactly. dunno :D. |
Mostly this should be a matter of detecting how to run fsac somewhere near here and do so. Atm it first tries with |
I was recently trying to run the vim-fsharp plugin inside WSL, and pointed my MSBuild executable and Fsharp interactive executable to the windows ones (since WSL now allows you to call windows applications), and while it would start fsautocomplete, it didn't appear to do anything else.
Would it be feasible to modify the plugin to work within WSL?
The text was updated successfully, but these errors were encountered: