-
Notifications
You must be signed in to change notification settings - Fork 11
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
Please help, everything works except autocompletion #64
Comments
Hmmm, |
Autocompletion is not working for me either, setting up elixir-ls on coc-config works.
defmodule CocElixirIssue do
def hello do
Enum. # <-- Problem experienced here on autocomplete attempt.
:world
end
end Version info:
|
From this comment elixir-lsp/elixir_sense#148 it seems that the ElixirLS version is outdated. I (and I might assume as the other participants in this issue) have installed It turns out that it downloads and installs an outdated (last release was 7 months ago) coc-elixir NPM package, instead of the new one. @amiralies, is there any way to build and publish a new release to the npmjs? If not, shall the |
This repo seems a little bit abandoned (on activity since May 2020, no tags after version |
@hissssst @lauriannala I have found a workaround.
$ find ~ -name 'language_server.sh'
/Users/cr0t/.config/coc/extensions/node_modules/coc-elixir/els-release/language_server.sh
$ rm -rf /Users/cr0t/.config/coc/extensions/node_modules/coc-elixir/els-release/*
$ cd ~/Downloads
$ unzip elixir-ls.zip -d /Users/cr0t/.config/coc/extensions/node_modules/coc-elixir/els-release/ (keep in mind, that in your system
|
I've switched to neovim's lsp recently and do not work much on elixir projects at work atm. so I couldn't give attention to this small project. This extension doesn't do anything fancy it's a wrapper around elixir-ls. so with manual installation mentioned in the readme or using coc's manual configuration same experience should be available for the end user. but with extra steps. achieving out of the box experience is a bit tricky (we should publish with minimum version of elixir and otp supported by the language server to support more users and some small issues that i can't remember now). With that being said if i find a way to automate build/publish via github actions that would be great (PR welcome). |
Thank you! That worked flawlessly :) |
I've checked and autocompletion works correctly with other languages. In elixir, I am able to have buffer completion, but not LS completion while other features like goto definition and documentation work correctly. There's nothing special in coc log too
The text was updated successfully, but these errors were encountered: