-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emacs 28 LSP Error On Autocomplete #876
Comments
@kstatz12, what OS are you using? Because I am experiencing the same issue with Emacs 27, but only on GNU/Linux, whilst completion works on Windows. EDIT: Completion used to work on both OSes before updating to .NET 6. |
P.S.: Completion on GNU/Linux does not work with Ionide in Visual Studio Code either. |
@vzarytovskii Yes! There is
and then there is the message Yet, my .NET 6 Runtime is in its standard location. Here is the output of
I have also set the environment variable export Deleting the |
Here are the two lines of the log that repeat whenever I try to complete, with JSON pretty-printed for clarity:
|
Yep, can reproduce it on WSL2:
|
There seems to be an issue when you have 6.0 installed, as fsac itself is built w/ .net 5 -- but not sure if thats the cause. If I install just .net 5 sdk then things start to work, tested on macos and linux. |
Huh, let me try installing net5 sdk |
I wonder if the next FSAC release will solve this - we've bumped the required TFM to net6.0 in a recent MR. |
Nope, that did not help me, it still fails with the same message. |
I have just installed FSAC 0.53.1 and now completion works with .NET 6.0.200 on GNU/Linux. Thank you! |
Glad to hear it! |
Regrettably I have reinstalled my PC and now completion in Emacs fails again with the same error. Completion doesn't work either with Ionide in Visual Studio Code. My .NET version now is 6.0.300. That is the only difference that I am aware of. |
Now I have FSAC working with Ionide v6.0.5 in Visual Studio Code. Still no luck in Emacs. The
even though I have configured LSP to launch it with |
@fehmud what is your |
@razzmatazz There is Thanks everybody for the assistance, but no more F# in Emacs for me. |
there should be
|
@razzmatazz
Normally, I would try to debug a package, but LSP Mode seems too complex. |
I think this was related to issues with finding references that #1038 fixed. Let me know if that's not the case. |
when i start the lsp and start editing code instead of autocomplete i get these errors
Emacs 28 with doom
The text was updated successfully, but these errors were encountered: