From 7f9dda50b661936204adff9ec5a6573973523b6d Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sat, 31 Oct 2026 02:53:00 +0800 Subject: [PATCH] fix(fsharp): load the project when fsautocomplete starts fsautocomplete waits for the client to load the project through its own `fsharp/workspaceLoad` request, which the IDE never sent. The server showed as running, but F# files got no completion or diagnostics. Turning on `AutomaticWorkspaceInit` makes it load the project itself. --- languages/fsharp.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/languages/fsharp.toml b/languages/fsharp.toml index 6584b1ae1..cf989e421 100644 --- a/languages/fsharp.toml +++ b/languages/fsharp.toml @@ -11,6 +11,8 @@ name = "fsautocomplete" command = "fsautocomplete" root-markers = ["*.sln", "*.fsproj", "global.json"] install-hint = "dotnet tool install --global fsautocomplete" +# Otherwise it waits for the client to load the project through `fsharp/workspaceLoad`. +initialization-options = { AutomaticWorkspaceInit = true } [debugger] adapter = "netcoredbg"