fiv
Zed code completion not working
I really like the Zed editor but recently code completion just stopped working. I still get syntax highlighting just no code completion. Is anybody having the same issue or know what the problem might be.
Most Liked
anderkonzen
I was getting this error too, but I did not know when it started on my mac (maybe a zed update?).
I tried to uninstall zed, compared releases of elixir-ls, etc, but I finally made it work by making the elixir-ls scripts that zed downloads to be executable. Comparing the version between VSCode and zed, I noticed that the elixir-ls release files were not marked as executable:
By running chmod +x ... things started to work again.
larshei
Just ran across this, might be helpful for someone:
Zed has builtin tailwind support, which can be enabled as well.
Adjust to config as follows:
- "language_servers": ["elixir-ls"],
+ "language_servers": ["elixir-ls", "tailwindcss-language-server"],
LostKobrakai
The first step should always be looking at the lsp logs, which you can open via the command palette in zed.
Last Post!
conradwt
Correction, I actually did configure the language servers for both Elixir and HEEx file types. Here’s the relevant snippets from my settings.json file:
"languages": {
"Elixir": {
"tab_size": 2,
"language_servers": [
"elixir-ls",
"!next-ls",
"!lexical",
"tailwindcss-language-server",
"emmet-language-server",
"...",
],
},
"HEEx": {
"tab_size": 2,
"language_servers": [
"elixir-ls",
"!next-ls",
"!lexical",
"tailwindcss-language-server",
"emmet-language-server",
"...",
],
},
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex











