ionide-vscode-fsharp
ionide-vscode-fsharp copied to clipboard
Typechecking not completing upon build and is preventing intellisense
Describe the bug
Typechecking seems to get stuck upon initial build when opening an f# file and is preventing intellisense. Tried restarting vscode, reinstalling ionide, doublechecking the proj file. Can't seem to find a similar issue like this anywhere. Typechecking just continues to load in the screenshot below
Steps to reproduce
- Open Project
- Open an .fs or .fsx file
- Wait for building to get to typechecking
Screenshots
Machine info
- OS: Mac
- .NET SDK version: 6.0.16
- Ionide version: 7.9.0
Additional context
Add any other context about the problem here.
Experiencing the same, also on Mac. Tried the same workarounds. No luck.
Same here.
- OS: macOS 13.3.1
- .NET SDK version: 6.0.408
- Ionide version: 7.11.0
I installed an older version (7.5.4) of the extension and it seems to work fine.
I installed an older version (7.5.4) of the extension and it seems to work fine.
Thank you! Didn't think to try that. I've downgraded and seems to be working again. Still haven't got to the bottom of why the most recent version isn't working it but happy with the workaround for now!
I can confirm that this is happening on my machine as well. Win 11 x64, dotnet 6.0.107, and vscode 1.82.1.6. Reverting to 7.5.4 works for me, thanks for that @vanhanenjjv
Has anyone tried to see if this is resolved in 7.12.1?
@pimbrouwers can you also try using a more recent SDK? 7.0.4xx or the 8.0.100-rc1 would be ideal here.
Hey @baronfel!
I updated the referenced sdk in global.json to 7.0.100 and Ionide to 7.12.2.
Happy to report no issues so far. Even with our 35 project monorepo.
Hey, that's great to hear. MS fully supports using more recent SDKs to target older TFMs, so you should feel comfortable doing this - even updating to 8.x!
At the same time, it's mildly concerning that our net6.0 version of FSAC isn't working as expected anymore - we have test coverage but clearly something is going wrong on your system.
@baronfel we do have a few closed issues about the combination of arm macos and net 6.0 having a lot of issues, which is hard to test against since I don't have one of those.
Thanks Chet & Jimmy.
@baronfel I usually up the version when a new LTS version is released. But there is no reason I can't update the tooling more frequently.
Updated Ionide extension and a restart and seems to be working again. Not sure if this was fixed or because of the act of updating?