Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Oct 23 15:20
    Krzysztof-Cieslak labeled #1431
  • Oct 23 15:06
    open-collective-bot[bot] commented #1431
  • Oct 23 15:06
    adam-becker opened #1431
  • Oct 23 12:33

    Krzysztof-Cieslak on master

    Move grammar/ to grammars/ Update paths (grammar -> gramma… (compare)

  • Oct 23 12:33
    Krzysztof-Cieslak closed #156
  • Oct 23 12:33
    Krzysztof-Cieslak commented #156
  • Oct 23 12:15
    Krzysztof-Cieslak closed #1427
  • Oct 23 12:15
    Krzysztof-Cieslak commented #1427
  • Oct 23 08:12
    ronaldschlenker commented #1412
  • Oct 23 07:33
    otaconjh commented #1041
  • Oct 22 13:58
    otaconjh commented #1041
  • Oct 22 13:58
    otaconjh commented #1041
  • Oct 21 15:59
    Krzysztof-Cieslak labeled #1429
  • Oct 21 15:59
    Krzysztof-Cieslak labeled #1429
  • Oct 20 18:48
    isaacabraham commented #1425
  • Oct 19 19:24
    isaacabraham commented #1412
  • Oct 19 16:45
    open-collective-bot[bot] commented #1430
  • Oct 19 16:45
    jl0pd opened #1430
  • Oct 17 16:43
    vilinski commented #1322
  • Oct 17 14:24
    JB101UK commented #1041
I'm on Atom
Fergus Meiklejohn
@JNLanthanide on VSCode I usually have to build the project to get autocompletion
Hi , is anyone here running vscode + ionide in nix/nixos?
this is my shell.nix
getting : Failed to send text to FSI, Failed to spawn FSI, please ensure it's in PATH
Solved it by adding a settings file with FSI path :)
Hi I was able to start default SAFE app with a nix package manger building the enviorment : https://github.com/countoren/FSharpBase check out shell.nix. But somewhy vscode is not able to load the Server project throwing: [Extension Host] [IONIDE-FSAC] Cannot execute simplifiedNames, File '/Users/oren/Desktop/fsharpTest/src/Shared/Shared.fs' not parsed .
and [IONIDE-FSAC] Cannot execute recordStubGenerator, File '/Users/oren/Desktop/fsharpTest/src/Server/Server.fs' not parsed
ps the Client project works just fine
and everything runs from the terminal

Hi, what settings do you guys use for Ionide on WSL on windows?
Specifically, how do you tell Ionide to target dotnet tools on mono/Linux rather than VS2017? And how do you tell if it is?
So far, I use these related settings:

"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\wsl.exe",
"FSharp.fsacRuntime": "netcore",
"FSharp.monoPath": "/usr/bin/mono",

I'm getting squiggly lines/errors on the minimal fable project and files missing in the F# explorer, and wondering if there's a setting in File-Preferences-Settings-Extensions-FSharp configuration that might fix it.

Has anyone experienced problems with function signature only in script files (.fsx)?
I am with ionide-fsharp 3.30
the problems does not show up with .fs files
Hi - how do I configure the list of msbuild options shown in the 'F#: pick msbuild host' option selector? I have several dotnet sdk's installed and to specify the path to that version of the sdk. At the moment I can only see it pointing to ~/.dotnet. But I have the SDK installed in ~/code/dotnet/2.1.403.... How can I tell it I want to use the dotnet executable from ~/code/dotnet/2.1.403?
This page is a ghost town. You would think F# would have an active forum community going by it's actual quality as a language and it's huge backer, at least on a par with Reason/Julia /Nim. The Slack channel is as good as it gets...
Jon Roberts
Hi @bevo009 I use WSL a lot. But I usually use ionide under Windows. I’ll give it a try and let you know how it goes.
@bevo009 you might try ionide queries on #editor_support. I saw you posted a VS2017 question there. VS2017 questions are probably better fielded to an MSFT forum as they support it directly.
@bigjonroberts thanks for replying, I 'll keep checking in to see if you had any luck, I couldn't find any instructions for the actual targeting of wsl by ionide itself or even much on vs code besides setting the wsl as bash. The few tutorials I've found were pretty terse on how they setup ionide. Btw which MSFT forum do you recommend for VS2017?
Is there any way to set Ionide to only display the evaluated output, as per Visual Studio?
The F# Interactive window fills up pretty fast printing the sent code and ;; lines as well as the evaluation
Dan Liebgold
what’s the way to have ionide use my FAKE build script?
Dan Liebgold
oooh I’m using FAKE 5 … it’s not supported?
Is there a way to improve speed of Ionide 'intellisense' ? E.g. switch it to use multiple cores etc?
@Danl2620 I'm having the same problem! Stuck on "Build Started"
Leo Cavalcante
I'm not getting auto-completion on .fsx files :/ If I just open a .fsx it should complete? What would a minimal setup? Should I have a .fsproj? What should be it's contents?
Vern DeHaven
Hi all. I have a beginner question about getting Ionide-Paket 1.12.0 working with the Paket dotnet global tool 5.196.2 and VS Code 1.30.2 on Mac OSX 10.14. Though ~/.dotnet/tools is on the PATH and I can directly execute ~/.dotnet/tools/paket, Ionide-Paket does neither sees it nor any possible internal copy. I'm sure I'm missing something simple...
Rasheed Gudal
Hi guys quick question
In visual studio code how do I get to FSI
... basic question
Githin George
Highlight the code and alt + enter
Schalk Dormehl
Guys, I am BLOWN AWAY with Ionide, what a pleasant surprise!
Thank you so much for building it!
Schalk Dormehl
Hey folks,
I'm having trouble installing nuget packages in my Ionide project.
They install, but I can't seem to reference them from my .fs files.
Any help would be greatly appreciated.
Dan Liebgold
Hi, is there a way to disable ionide for a particular .fsx file? My entire file is red squiggles
Dan Liebgold
Failing that, has anyone devised a degraded mode to run Ionide in (when it's unable to build the project properly for whatever reason)? Or a step-by-step diagnostics that points to project build issues? I've been unable to get much useful from the listed ways...
I'm getting the sense this is a forum for just questions....
Andreas Vilinski
Exited about support of anon records. But I thing theres a bug:
type Ticket =
    | Timeout of DateTime
    | LimitViolation of
        {| IsUpper : bool
           Limit : double
           Current : double
           Unit : string
let isCloseable v =
    v.IsUpper        && v.Current > v.Limit ||
    v.IsUpper |> not && v.Current < v.Limit
let close ticket =
    | LimitViolation v when isCloseable v ->
    | _ -> true
here close function has no problems, but isCloseable has a problem when the type isn't set explicitely. Shouldn't it be infered from usage? Is it expected behavior or just quirk in FSAC?
Chet Husk
no that makes sense to me, as a general F# rule
member access like that requires the type to be inferred, and inferences can only happen from functions
you need to annotate isCloseable like so: let isCloseable (v: {| IsUpper: bool; Current: double; Limit: double |}) in order to use it
alternatively, if you had functions like let isUpper (v: {| IsUpper: bool |}) = v.IsUpper you could use the function in isCloseable and that would help isClosable infer that it needs a parameter with the IsUpper property
this is all just normal F# inference rules
@Danl2620 you've not really given any actionable information here. If you for example post what is shown when you right-click on a failing project and click 'Show Project Info`, that might help spur some discussion
Andreas Vilinski
@baronfel yes, thanks, I know how to annotate the parameter. But still don't get intuition why I get isCloseable as 'a -> bool where 'a is {| ... |} instead of just{| ... |} -> bool where if I define a "normal" record the compiler infers fully correct MyRecord -> bool

Hi all. I am getting a, ionide-fsharp Project parsing failed: MyApp.Library.fsproj. The project is the quick start WPF F# only VSCode tutorial. Both the library and client project have this issue which prevents them from loading. Their status becomes, failed to load, with the error, The system cannot find the file specified.

Any help would be appreciated. Thanks in advance.

Hello guys, I can't seem to run F# from Visual Studio Code. When I try to run the main class, I get the error "command 'fsharp.scriptrunner.run' not found"
Ionide-fsharp is installed
Arthur Borisow
Hi all! I am trying to use ionide to navigate to code of the dependent libraries. I built a blank suave project and when I try to go to definition of application it says Unable to open 'D:\Programowanie\Projekty\Saturn\Saturn\src\Saturn\Application.fs' though I am on mac and don't have such dirs at all. Could anhone please help with that? I am using experimental ionide and dotnet core 3.0.100-preview5-011568