ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
864 stars 279 forks source link

Use dotnet fsi included in .NET Core 3 Preview 3 #1062

Closed runbmp closed 5 years ago

runbmp commented 5 years ago

Describe the bug As a mac user, I would like to use the "dotnet fsi" command in 3.0.100-preview3 for my fsi window as I am under the impression it would remove the requirement of mono on macOS.

Expected behaviour

image

I would like this to work in some form using the new dotnetcore fsi

Screenshots

image

Environment (please complete the following information): macOS Mojave 10.14.4

➜ dotnet --version
3.0.100-preview3-010431
➜ dotnet fsi
Microsoft (R) F# Interactive version 10.4.0 for F# 4.6
Name: Ionide-fsharp
Id: ionide.ionide-fsharp
Description: F# Language Support
Version: 3.35.0
Publisher: Ionide
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Ionide.Ionide-fsharp

Mono version - none

Additional context I attempted a work around by specifying my own fsi.sh script with the following command inside:

dotnet fsi --readline
image image
open-collective-bot[bot] commented 5 years ago

Hey @benmp :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our OpenCollective and consider backing us.

https://opencollective.com/ionide

PS.: We offer backer support for all backers. Don't forget to add priority label when you start backing us :smile:

runbmp commented 5 years ago

Solution has been published and works just fine on Mac

https://vxlabs.com/2019/04/16/dotnet-fsi-in-vscode/

"FSharp.fsacRuntime": "netcore",
"FSharp.fsiFilePath": "/usr/local/share/dotnet/dotnet",
"FSharp.fsiExtraParameters": ["fsi"]