-
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
LSP doesn't work with .NET 6 and Mac M1 with Ionide #939
Comments
@leolorenzoluis what macos version are you running this on? btw, how did you install fsautocomplete? via I wonder if it could be that |
@razzmatazz macOS Monterey 12.3.1. I did not install fsautocomplete globally, but through Ionide. Does it work in your case with VS Code and Ionide? |
hmm, it does.. I tried to uninstall fsautocomplete via the project I am testing this with is https://github.com/razzmatazz/csharp-language-server |
I cloned your repo and tested, I get no references for other variables. Also just to add, find references partially work like if it's within the local scope of the function, but it doesn't find references outside say usages of the variable within a module. I also encountered CPU excessive usage which caused my M1 to be hot! I tested with Project Rider and their find references works fine. |
One unrelated thing is that fsac does not compile on macOS/arm64 for me, caused by: Seems to be fixed on latest Seems to be fixed on dotnet/7 only though. |
FYI; at least the cpu hogging issue has been seeming fixed for me with v0.56.2 |
Since this seems like a runtime issue I'm gonna go ahead and close it. |
Based off my findings it looks like Ionide uses a dependency that doesn't work with M1/.NET 6. Find references doesn't work with M1 with .NET 6
'libe_sqlite3' (no such file), '/usr/local/lib/libe_sqlite3' (no such file), '/usr/lib/libe_sqlite3' (no such file),
https://github.com/fsharp/FsAutoComplete/blob/main/paket.dependencies#L33
Which causes this to happen: ionide/ionide-vscode-fsharp#1707
Which might be related due to this: ericsink/SQLitePCL.raw#468
Not sure if package dependencies need to be updated for SQLitePCL
The text was updated successfully, but these errors were encountered: