Questions tagged [ionide]

An Atom Editor and Visual Studio Code package suite for cross platform F# development.

Ionide includes all the necessary features you’d find in a modern IDE - autocomplete, tooltips, document formatting, syntax and error highlighting, and many more.

An Atom Editor and Visual Studio Code package suite for cross platform F# development.

Need Help?

Join the chat

Ask a question, make a suggestion, or just chat with other Ionide users.

69 questions
5
votes
1 answer

How do I set up the visual studio code launch.json file to debug F#?

How do I set up the debugger in launch.json? Currently, I have { "version": "0.1.0", "configurations": [ { // Name of configuration // Appears in the launch configuration drop down menu. "name":…
Luke Xu
  • 2,302
  • 3
  • 19
  • 43
4
votes
2 answers

Ionide: how to specify FSharpLint's configuration?

According to the FSharpLint documentation, on the command line, you can specify the config file via --lint-config. Since the tool comes integrated into Ionide, I was expecting some means of specifying the config file in that extension's settings.…
Tatiana Racheva
  • 1,289
  • 1
  • 13
  • 31
4
votes
1 answer

How to include Akka.net framework for F# in VSCode

I am trying to use Akka.NET for F# in VSCode using this example I found on the internet. Code // ActorSayHello.fsx #time "on" // #load "Bootstrap.fsx" open System open Akka.Actor open Akka.Configuration open Akka.FSharp open Akka.TestKit // #Using…
Stuxen
  • 708
  • 7
  • 21
4
votes
2 answers

How to turn off Ionide Lint warnings

I have written a F# script in FSI using Ionide in VS Code. It's a great tool, but I am getting a warning from Ionide Lint suggesting a code improvement: 'Lint: Seq.map f (Seq.map g x) might be able to be refactored into Seq.map (g >> f) x.' I have…
Aidan
  • 4,783
  • 5
  • 34
  • 58
4
votes
1 answer

How to run websharper project?

I have a websharper template project through visual studio code and ionide, I can compile the project which is great but how do I actually see the result in my web browser? Is there anything equivalent to full visual studio's green play button? Hope…
arcanine
  • 1,933
  • 1
  • 15
  • 22
4
votes
3 answers

Error "end of central directory record signature not found" while installing ionide-fsharp in vscode

I have installed VS Code version 1.8.1. Machine is Windows 7, 64 bit. While installing ionide-fsharp extension, I am getting error "end of central directory record signature not found". It seems version 1.7.2 of VS Code works, however this issue…
ronilk
  • 303
  • 2
  • 4
  • 14
4
votes
1 answer

Why don't I get output on OSX with this F# code but I do on Windows

I'm trying to execute the following F# script code on my macbook pro using FSI in visual studio code and the ionide plugin. #r "packages/Newtonsoft.Json.9.0.1/lib/net40/Newtonsoft.Json.dll" #r "System.Net.Http" open System open System.Net.Http open…
Simon Lomax
  • 8,714
  • 8
  • 42
  • 75
3
votes
0 answers

Fsharp Ionide on VS code: new tests not recognised until project reload

I am running an Fsharp console project on VS Code using the Ionide plugin. I added a test file using Xunit. However when I add a new test to the test file, the test case only gets recognized when I reload the window using the command pallette. As…
Arun
  • 180
  • 11
3
votes
2 answers

How to make ionide-fsharp formater work in VSCode

I have a problem with ionide-fsharp formatter. When I install the extension in VSCode I am not able to automaticaly format a file on save. I have fantomas installed globaly and I tried to go through FSAC, but nothing has helped. I think that I need…
kapaakinos
  • 98
  • 1
  • 7
3
votes
0 answers

How to add Format config file to VSCode workspace using Ionide

I want to add specific workspace setting for Formatting for F# I see that Ionide for VSCode uses FsAutoComplete which in turns uses Fantomas as the Formatter and that Fantomas has config file support (not documented), but I tried to add…
Coding Edgar
  • 1,285
  • 1
  • 8
  • 22
3
votes
2 answers

Ionide F# not working in VSCode, no debug messages, not in Running Extensions

I used Ionide F# a lot in the past for the amazing code completion in F# scripts. I didn't use it in a while and it doesn't work at all. I checked the debug output on level DEBUG or INFO and I only get: [16:00:00 INFO ] .Net runtime…
CodeMonkey
  • 4,067
  • 1
  • 31
  • 43
3
votes
2 answers

Not able to use FSI on VS code

since few days, I'm not able to use FSharp Interactive interpreter(Alt + Enter), it's giving me this message: *Failed to spawn FSI, please ensure it's in PATH* also, if I run the script, it give me connect ENONNREFUSED 127.0.0.1.8397 I'm using: -…
3
votes
1 answer

F#, VSCode and OSX: The namespace or module 'Expecto' is not defined

I am attempting to get started with F Sharp. I have mono installed via brew and dotnetcore installed via d/l. I have VS Code and the ionide plugin installed. I have done the following steps: project > new > expecto paket install fake…
Toby Hede
  • 36,755
  • 28
  • 133
  • 162
3
votes
2 answers

Where does Ionide + Fake put the output executable?

I am trying to use .NET Core + Ionide + VS Code + Fake + Paket on macOS High Sierra. Using the project generator, I have created a Suave application called Test. Ionide seems to have generated the appropriate files. After tweaking the…
sdgfsdh
  • 33,689
  • 26
  • 132
  • 245
3
votes
2 answers

F# (mono) for VS Code on MacOS : bugs

I'm trying to use F# with VS Code (v1.17.2) on MacOS (Sierra 10.12.6) I think i've installed latest versions of Mono and .NET SDK I'm trying just to build the simple project described here as a test https://github.com/s952163/FSharpVSCode after my…
Fagui Curtain
  • 1,867
  • 2
  • 19
  • 34