Open niteshbalusu11 opened 3 months ago
im facing the same issue
+1
Could you make your settings.json
available to have a look at the language server configuration? Are there language server logs available to you as well? debug: open language server logs
I was able to fix it, as suggested here.
https://github.com/zed-industries/zed/issues/8352#issuecomment-1962887464
I was able to fix it, as suggested here.
It didn't work for me.
2024-08-29T07:12:09.87568Z [INFO] starting language server. binary path: "/Users/sergejnehorosev/Library/Application Support/Zed/extensions/work/csharp/omnisharp-v1.39.12/OmniSharp", working directory: "/Users/sergejnehorosev/Projects/Jatoda/Jatoda", args: ["-lsp"] 2024-08-29T07:12:09.877545Z [ERROR] cannot read LSP message headers 2024-08-29T07:12:09.877633Z [ERROR] failed to start language server "omnisharp": oneshot canceled 2024-08-29T07:12:09.877702Z [ERROR] server stderr: Some("A fatal error was encountered. The library 'libhostpolicy.dylib' required to execute the application was not found in '/usr/local/share/dotnet/'.\nFailed to run as a self-contained app.\n - The application was run as a self-contained app because '/Users/sergejnehorosev/Library/Application Support/Zed/extensions/work/csharp/omnisharp-v1.39.12/OmniSharp.runtimeconfig.json' was not found.\n - If this should be a framework-dependent app, add the '/Users/sergejnehorosev/Library/Application Support/Zed/extensions/work/csharp/omnisharp-v1.39.12/OmniSharp.runtimeconfig.json' file and specify the appropriate framework.\n") 2024-08-29T07:12:09.877791Z [ERROR] Hit 4 reinstallation attempts for "omnisharp" 2024-08-29T07:12:09.877857Z [ERROR] Broken pipe (os error 32) 2024-08-29T07:12:09.877935Z [ERROR] server shut down
Check for existing issues
Describe the bug / provide steps to reproduce it
After installing the C# extension, I only get syntax highlighting. No code completion or intellisense.
I see a similar issue but its not just code highlightning https://github.com/zed-industries/zed/issues/15688
and this seems like a related issue on Linux https://github.com/zed-industries/zed/issues/14188
Environment
M3 Macbook Pro
Zed 0.148.1
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log