## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• 11:38
Krzysztof-Cieslak labeled #1757
• 11:38
Krzysztof-Cieslak labeled #1757
• 11:38
Krzysztof-Cieslak labeled #1757
• 11:38
Krzysztof-Cieslak commented #1757
• 11:35
Krzysztof-Cieslak closed #1755
• 11:35
Krzysztof-Cieslak commented #1755
• 11:32
Krzysztof-Cieslak labeled #1754
• 11:32
Krzysztof-Cieslak labeled #1754
• 11:32
Krzysztof-Cieslak labeled #1754
• 11:32
Krzysztof-Cieslak labeled #1753
• 11:30
Krzysztof-Cieslak commented #1733
• 11:30
Krzysztof-Cieslak closed #1709
• 11:30

Krzysztof-Cieslak on main

Improve error message if dotnet… Use standard Node API to check … Remove old implementation which… and 3 more (compare)

• 11:30
Krzysztof-Cieslak closed #1733
• Aug 07 22:18
Beyondo commented #1693
• Aug 07 22:17
Beyondo commented #1693
• Aug 07 22:17
Beyondo commented #1693
• Aug 07 22:16
Beyondo commented #1693
• Aug 07 21:27
cartermp commented #1693
• Aug 07 19:49
baronfel commented #1693
ShalokShalom
@ShalokShalom
The Readme page does not mention debugging as part of the features
And I can not send some pull request because Krzysztof decided couple of years to block me from all his projects, since I suggested to use another platform to chat other than Slack 😁
Ryan Mullin
@rmullin7286_gitlab
Hi, I'm trying to setup a new project with the ionide fake extension. The instructions say to create a .ionide config file in the root directory but it seems like ionide already creates a folder with the same name so I can't. Has anyone else run into this issue?
Tomas Jansson
@mastoj
Is there a way to sort of force a refresh or something to get intellisense and such working? I have code that compiles, but a lot of the time I need to reload the window to get that to work.
@pandemonium
Ionide started crashing out of the blue and I don't even know how to debug it
Where are the logs?
It gives me the: crashed five times in three minutes, message. Tried deleting .ionide but that made no difference
Chet Husk
@baronfel
If it's ionide 5, make sure you have the dotnet sdk 5.0 installed and available. Ionide 5 (as announced for a few months now) requires .net 5.0 in order to run.
@pandemonium
I see, so that updated just the other day or what?
Mr. Johnson
@Kuroiyatsu
Anyone have an issue where creating a project with say: dotnet new console -lang "F#" -o ProjectName, the Program.fs has an error saying "No .fsproj or .fsx file references Program.fs"? Creating the same thing using Visual Studio 2019 doesn't have the issue.
Mr. Johnson
@Kuroiyatsu
The project builds and debugs just fine, but no intellisense due to this issue, it just reports an error.
Kit Eason
@misterspeedy

Hey everybody, I'm getting the dreaded "The F# server has crashed 5 times in the past 3 minutes" error.

Ionide 5.1.0
dotnet --info

Host (useful for support):
Version: 5.0.1
Commit: b02e13abab

.NET SDKs installed:
1.0.0-preview4-004233 [C:\Program Files\dotnet\sdk]
2.0.3 [C:\Program Files\dotnet\sdk]
...
5.0.100 [C:\Program Files\dotnet\sdk]
5.0.101 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
...
Microsoft.WindowsDesktop.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Any ideas?

Ionide logs: Command 'F#: Get Ionide logs' resulted in an error (command 'fsharp.diagnostics.getIonideLogs' not found)
Ionide diagnostics: Command 'F#: Get info for diagnostics' resulted in an error (command 'fsharp.diagnostics.getInfos' not found)
Kit Eason
@misterspeedy
Looks like it might be something to do with this machine not having the dotnet 3.1 SDK installed.
I'm sure it used to. Does... does... installing .NET 5 blat the 3.1 SDK. Please tell me that isn't the case.
Kit Eason
@misterspeedy
Ok, well I solved the diagnostics/log file issue. It seems that something in the tool chain requires .NET Core 3.1 AND .NET 5 SDKs to be installed. How I ended up without having 3.1 is a mystery. I spent much of 2020 recording a course using 3.1 so pretty sure it was there then! I'd really like to believe installing 5 doesn't blat it but that is the last major thing I did to this PC.
The log file is empty tho.
Kit Eason
@misterspeedy
TLDR; It seems from my experience that Ionide requires .NET 5 and .NET Core 3.1 SDKs to be present.
vrescobar
@vrescobar
hi all, is there info pointer on how to get working vscode with nix and ionide? (from windows WSL) all I find is @countoren cmments from 2018. ATM I can get sharp compile and run, just missing ionide which sadly doesn't even seem to start or show any log anywhere
vrescobar
@vrescobar
@misterspeedy where did you exactly get the logs? what else does ionide needs, things such as paths, binaries, etc?
BD
@ImaginaryDevelopment

hi all, is there info pointer on how to get working vscode with nix and ionide? (from windows WSL) all I find is @countoren cmments from 2018. ATM I can get sharp compile and run, just missing ionide which sadly doesn't even seem to start or show any log anywhere

I use it at work daily now for almost 2 years. what's sharp compile? you should be able to install ionide like any other vscode extension. are you having a problem or just aren't seeing how to install extensions?

I'm on mac at work, but that's fairly linux-y
Juri
@2mol
same here, it worked, but only after I installed an extension that made vscode aware of the nix PATH
debugging is trickier, I had to manually specify the path to dotnet in the launchSettings.json, very annoying
seanamosw
@seanamosw

Has anyone experienced this? Since Ionide-fsharp updated to v5.4.0, the intellisense in my build.fsx files is broken. If I roll the plugin back to v5.3.2 intellisense in the build.fsx files works again.

It breaks on the first line:

#r "paket: groupref fake //"
Package manager key 'paket' was not registered in [/home/seanamos/.vscode/extensions/ionide.ionide-fsharp-5.4.0/bin; /home/seanamos/.vscode/extensions/ionide.ionide-fsharp-5.4.0/bin/], []. Currently registered: nugetF# Compiler(3400)
seanamosw
@seanamosw
Ok, installing dotnet sdk 5.0.4 and doing a F# clear cache + window reload resolves the entire file getting covered in red squiggles, just the the paket groupref line gets squiggled now
Daniel Hegner
@da9l

I don't know if this is a problem with Ionide or not but I'm looking for a solution for it.
Whenever I have XUnit tests with spaces in their names

let My Unit Test() = ...

when I try to edit the name of the test VSCode is blocked and eventually pops up a "The window is no longer responding - Reopen, Keep Waiting, Close"
Does anyone else have experience with this and have any ideas how it can be avoided?

Rebin
@rebiiin
Hi there, I am pretty beginner with F# and I have a problem in VS code the Intellisense not working in (.fsx) files ! how do I fixe that issue ?
Kyle Johnson
@negcx
Any easy fixes for VS Code, SAFE, macos issues where ionide seems to lose track of external dependencies? i.e. starts to say things like Namespace or module Expecto is not defined etc
Christoph Schmidpeter
@ChristophSchmidpeter
Hello, is there a way to start unit tests from vim?
I mean debug
Tobias Heinlein
@niontrix
Hi there! I installed the latest version of ionide and visual studio code and now backspace just deletes single tabs instead of a tab-like amount like 4 tabs. Is anyone else having that issue?
When I disable ionide vs code works like it's supposed to and deletes 4 spaces at a time when using backspace. So I assume it has something to do with ionide. But I can't recall that it behaved that way the last time I used it.
Tobias Heinlein
@niontrix
Can someone help me out?
Jason Zavaglia
@jpz
just started editing an .fsx file in VSCode, I have this - fsi not found.
squiggly red line under fsi.CommandLineArgs - done a bit of googling and haven't been able to dig up anything obvious
SIMPalaxy
@SIMPalaxy
I tried cloning this codebase
https://github.com/glossopoeia/boba/
And while if I open up the Boba.Core folder, I can get Ionide to work, but for other projects whose fsproj files include references to other projects or trying to load the sln file, it never seems to load, with no error messages, Ionide just hangs and is unresponsive.
dotnet run and dotnet build work just fine in any of the folders
but Ionide just seems to refuse to load them.

If I try to select a project from among them, they don't appear, just the sln file.

If I go into the test folder or anything like that so that Ionide only sees one fsproj file in that folder, it still doesn't load with the exception of Boba.Core which is a fully self-contained library.

Is this a known issue, is there any way to fix this?
Jonathan Tsao
@jonathantsao
I'm getting this error at the top of every f# file. I don't have any build errors, but the linter marks it as an error
Ingo Karstein MCM
@ikarstein
Hi all, I'm new to F#. I try to run an FSX file in VSCode. I installed the latest ionide packages but I'm not able to run or debug the script.
Is this channel to right one to ask for help?
Ingo Karstein MCM
@ikarstein
I installed the .NET Extension Pack in VSCode. Than I create a F# file "test.fsx" with simple content:
let x = "string"
printf "%s" x
Than I press F5. An input line opens: "select environment". At the bottom of the list I read "Install an extension for F#...." When I select this I get redirected to the ".net Extension Pack"
When I select the two lines and press Alt+Enter I get an error message: "The terminal process "C:\Program Files\dotnet\dotnet.exe 'c:\Program Files\dotnet\sdk\6.0.201\FSharp', '--fsi-server-input-codepage:28591', '--fsi-server-output-codepage:65001', '--load:c:\Users\user1.vscode\extensions\ionide.ionide-fsharp-5.12.0\watcher\watcher.fsx'" terminated with exit code: 1."