Closed Gradi closed 2 years ago
So according to this the long-term solution seems to be to move to using 'dotnet tool' to install fsautocomplete. But I think this would require a rewrite of eglot-fsharp.el
Edit: It seems there is already a PR to make in work with lsp-mode :
Furthermore, there is pull request that should fix eglot-fsharp.el as well.
I think I am still experiencing the same symptom. Even after tried the workaround suggested here.
And Move tools/net5.0/any/* to ~.emacs.d\FsAutoComplete\netcore\ Means to copy all files and folders within "any" to "netcore" folder? If so, that didn't work. Otherwise, can someone explain a little more?
Should be fixed by #292
Description
Good day. I've installed latest versions of
and when i open any F# source file and run
M-x eglot
error pops up sayingI did some debugging and found out that (on my machine) function
eglot-fsharp--maybe-install
tries to download file fromhttps://github.com/fsharp/FsAutoComplete/releases/download/v0.50.0/fsautocomplete.netcore.zip
url and fails.Reason for that is that FsAutoComplete has changed something in their deploying process and now version
v0.50.0
fsautocomplete.netcore.zip
artifactv
letter, but resulting artifact does not). Check screenshoot belowPS. I didn't know where exactly i should have created this issue here or there. Sorry if it's wrong.
Repro steps
Install latest version of
Open in valid F# project
Run
M-x eglot
Expected behavior
Everything works, FsAutoComplete is downloaded and unpacked.
Actual behavior
It fails to download FsAutoComplete.zip
Known workarounds
fsautocomplete.0.50.0.nupkg
tools/net5.0/any/*
to~\.emacs.d\FsAutoComplete\netcore\
eglot-fsharp-server-version
to"0.50.0"
to preventeglot-fsharp
from attempting to download/updateFsAutoComplete.zip
Related information