ionide-vscode-fsharp icon indicating copy to clipboard operation
ionide-vscode-fsharp copied to clipboard

Typechecking not completing upon build and is preventing intellisense

Open sulky-penguin opened this issue 2 years ago • 11 comments

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

  1. Open Project
  2. Open an .fs or .fsx file
  3. Wait for building to get to typechecking

Screenshots

image

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.

sulky-penguin avatar Aug 23 '23 09:08 sulky-penguin

Experiencing the same, also on Mac. Tried the same workarounds. No luck.

dburriss avatar Sep 11 '23 20:09 dburriss

Same here.

  • OS: macOS 13.3.1
  • .NET SDK version: 6.0.408
  • Ionide version: 7.11.0

vanhanenjjv avatar Sep 13 '23 09:09 vanhanenjjv

I installed an older version (7.5.4) of the extension and it seems to work fine.

vanhanenjjv avatar Sep 13 '23 09:09 vanhanenjjv

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!

sulky-penguin avatar Sep 13 '23 10:09 sulky-penguin

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 avatar Sep 19 '23 10:09 pimbrouwers

@pimbrouwers can you also try using a more recent SDK? 7.0.4xx or the 8.0.100-rc1 would be ideal here.

baronfel avatar Sep 19 '23 12:09 baronfel

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.

pimbrouwers avatar Sep 20 '23 13:09 pimbrouwers

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 avatar Sep 20 '23 13:09 baronfel

@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.

TheAngryByrd avatar Sep 20 '23 13:09 TheAngryByrd

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.

pimbrouwers avatar Sep 20 '23 19:09 pimbrouwers

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?

dburriss avatar Sep 21 '23 07:09 dburriss