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
2
votes
1 answer

Is createResponse supported in Mono's System.Net.Http?

I'm editing F# Azure Function files using VS Code and Ionide on a Mac. Below is my little test function: #if !COMPILED #I "../packages/Microsoft.Azure.WebJobs/lib/net45/" #r "Microsoft.Azure.WebJobs.Host.dll" #endif #r "System.Net.Http" #r…
Martimatix
  • 1,553
  • 1
  • 15
  • 18
2
votes
1 answer

How do I get Ionide to see .net core Linq and AspNetCore namespaces?

I recently installed dotnet core 1.0.0-rc4-004771. After generating a new fsharp project with the following command: "dotnet new mvc -lang f#" Ionide complains that it can't find the Linq and AspNetCore namespaces even though "dotnet build" builds…
Korbin
  • 1,788
  • 2
  • 18
  • 29
2
votes
0 answers

F# / Ionide in Visual Studio Code, max script length to FSI?

I am having a problem sending F# scripts to F# Interactive using Ionide in Visual Studio Code. I am using the "FSI: Send Selection" command using Alt+Enter. This works fine for smaller scripts, but with script length exceeds a certain limit (approx…
Joe
  • 21
  • 1
2
votes
1 answer

VSCode, Paket, and compiler errors

I use VSCode and Paket but don't understand how everything on the back-end connects to each other. This morning I'm running into a problem in which my paket.dependencies file is correct yet when I try to open those libraries in a .FS file, I get…
Steven
  • 3,238
  • 21
  • 50
2
votes
1 answer

How do I get F# Forge to work

I can't seem to get Forge to work. I'm using VS Code 1.6.1 with Ionide-F# 2.8.2. Until now I've only compiled scripts, but I need a project file for a specfic .dll to work (Unmanaged Exports). However I can't seem to get an F# project going with…
CodeMonkey
  • 4,067
  • 1
  • 31
  • 43
1
vote
1 answer

Debugging F# app using VSCode, WSL2 + Extensions (Ionide Packet, FAKE, Core)

You're getting this error when trying to debug an F# app on VSCode using Ionide Unable to launch debugger worker process (vsdbg) through the terminal. spawn xterm ENOENT
Edward Casanova
  • 726
  • 7
  • 19
1
vote
0 answers

VS Code : .net doesn't exist in "select debugger"

When I try to debug C# or F# or create launch.json, the .NET I installed does not appear in "Select debugger". In C#, if I press Yes on "Required assets to build and debug are missing from 'tutorial_vscodedotnet'. Add them?" and press Yes, a…
karasuwye
  • 11
  • 2
1
vote
0 answers

F# Codelens locale

I'm using VSCode and Ionide extension. VSCode language is English, so I want Code lens also in English, but It doesn't. How can I change Code lens language?
topica
  • 309
  • 1
  • 6
1
vote
0 answers

Running an F# program in VS Code using the Ionide plugin

I opened my project directory in VS Code. I set a breakpoint and pressed F5. Now I get command 'csharp.coreclrAdapterExecutableCommand' not found What should I install to make it work? UPDATE: this is under Centos 7 and I did install .net core…
Gergely
  • 6,879
  • 6
  • 25
  • 35
1
vote
1 answer

Suave project with Ionide

I'm trying to create a Suave project via Ionide, but it only gives me these options: classlib, console, saturn, expecto. What should I do to Suave appears to me?
Yuri Costa
  • 199
  • 9
1
vote
0 answers

MacOS and Mono Cannot start .NET Core language services because `dotnet` was not found

I installed mono on my macos using brew. I also installed VSCode and installed Ionide extension. I got this error Cannot start .NET Core language services because `dotnet` was not found. Consider: * setting the `FSharp.dotnetLocation` settings key…
Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
1
vote
1 answer

F# : wrap tuples into multiple lines

Let's say I have a simple Tree : type Tree = | BinaryNode of Tree * int * Tree | Tip member this.Sum = match this with | Tip -> 0 | BinaryNode(left, value, right) -> left.Sum + value + right.Sum and I define a…
itminus
  • 23,772
  • 2
  • 53
  • 88
1
vote
0 answers

Can't run F# on mac with atom says 'usr/bin could not be spawned'

I don't know what to do, SO is my last chance. Been trying to install Mono on my MacBook Air 2017 to run F# on an IDE such as Atom or SublimeText 3, neither works. I need to be prepared for my data science studies where we need F# on an IDE.…
jubibanna
  • 1,095
  • 9
  • 21
1
vote
2 answers

F# core .NET framework on Linux build how-to

I'm trying to build a F# project (console) on Ubuntu 17.10 (Mono 4.6.2) however I run into F# core .NET issues. For reference, I'm using Visual Studio Code 1.21.2 and ionide extensions (new project and FAKE build). Below is the output. I've tried…
Koenig Lear
  • 2,366
  • 1
  • 14
  • 29
1
vote
0 answers

Visual Studio Code cannot recognise Microsoft Build tools

I am having difficulty using Ionide on Visual Studio code, after following tutorials and reinstalling to no avail, one problem still persists - this is that Visual Studio Code cannot find Microsoft Build tools 2013 - I have both the extension and…