vscode-elixir icon indicating copy to clipboard operation
vscode-elixir copied to clipboard

Autocomplete also not working

Open feitelogram opened this issue 5 years ago • 9 comments

Screen Shot 2020-05-12 at 11 19 23 AM

Hi there.

I read the previous link on the autocomplete working and tried changing this.command in the elixirServer.js file but I'm still getting the "loading" hang when I try to use intellisense and I'm not getting autocomplete either. It will work temporarily sometimes when I reboot my computer but then stop working soon after.

Any thoughts/ideas?

Thank you,

a young and enthusiastic Elixir learner.

feitelogram avatar May 12 '20 15:05 feitelogram

@feitelogram same here, did you figure this out?

rodrigoreis22 avatar Jun 12 '20 01:06 rodrigoreis22

Nope!

Nicholas Feitel fun human (def not bot) 646-657-9798 cell Portfolio (coding) Performer Website

On Jun 11, 2020, at 9:03 PM, Rodrigo Reis [email protected] wrote:

@feitelogram same here, did you figure this out?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

feitelogram avatar Jun 12 '20 01:06 feitelogram

I'm having the same issue, I think it might have something to do with elixir-sense.

Looking in the developer console, there seem to be some elixir-sense errors:

23:28:11.004 [error] Task ElixirSense.Server.TCPServer started from #PID<0.199.0> terminating
** (stop) exited in: GenServer.call(ElixirSense.Server.TCPServer.ConnectionHandlerSupervisor, {:start_task, [{:nonode@nohost, #PID<0.199.0>, #PID<0.199.0>}, [#PID<0.199.0>, #PID<0.198.0>], {:erlang, :apply, [#Function<1.71228308/0 in ElixirSense.Server.TCPServer.start_connection_handler/2>, []]}], nil, nil}, :infinity)
    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

Unchecking the "Use elixir-sense instead of alchemist-server" setting seems to make autocomplete work again.

MC-DeltaT avatar Jun 14 '20 16:06 MC-DeltaT

Ooh where do I uncheck that?

On Sun, Jun 14, 2020 at 12:08 PM Reece Jones [email protected] wrote:

I'm having the same issue, I think it might have something to do with elixir-sense.

Looking in the developer console, there seem to be some elixir-sense errors:

23:28:11.004 [error] Task ElixirSense.Server.TCPServer started from #PID<0.199.0> terminating ** (stop) exited in: GenServer.call(ElixirSense.Server.TCPServer.ConnectionHandlerSupervisor, {:start_task, [{:nonode@nohost, #PID<0.199.0>, #PID<0.199.0>}, [#PID<0.199.0>, #PID<0.198.0>], {:erlang, :apply, [#Function<1.71228308/0 in ElixirSense.Server.TCPServer.start_connection_handler/2>, []]}], nil, nil}, :infinity) ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

Unchecking the "Use elixir-sense instead of alchemist-server" setting seems to make autocomplete work again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fr1zle/vscode-elixir/issues/157#issuecomment-643787151, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXZD6SCBV46KDCIZFN3ISLRWTYWHANCNFSM4M65VFRA .

-- Nicholas Feitel fun human (def not bot) 646-657-9798 cell Portfolio (coding) https://wonderful-jackson-9e020f.netlify.com/ Performer Website http://nicholasfeitel.com

feitelogram avatar Jun 14 '20 16:06 feitelogram

@MC-DeltaT thank you it works for me also!

@feitelogram, Press "ctrl + ," to open settings and start typing "Use elixir-sense instead of alchemist-server". You will see the checkbox.

oleksiial avatar Jun 14 '20 19:06 oleksiial

I got it! I’m a doofus! Thanks so much guys!

Nicholas Feitel fun human (def not bot) 646-657-9798 cell Portfolio (coding) Performer Website

On Jun 14, 2020, at 12:08 PM, Reece Jones [email protected] wrote:

I'm having the same issue, I think it might have something to do with elixir-sense.

Looking in the developer console, there seem to be some elixir-sense errors:

23:28:11.004 [error] Task ElixirSense.Server.TCPServer started from #PID<0.199.0> terminating ** (stop) exited in: GenServer.call(ElixirSense.Server.TCPServer.ConnectionHandlerSupervisor, {:start_task, [{:nonode@nohost, #PID<0.199.0>, #PID<0.199.0>}, [#PID<0.199.0>, #PID<0.198.0>], {:erlang, :apply, [#Function<1.71228308/0 in ElixirSense.Server.TCPServer.start_connection_handler/2>, []]}], nil, nil}, :infinity) ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started Unchecking the "Use elixir-sense instead of alchemist-server" setting seems to make autocomplete work again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

feitelogram avatar Jun 14 '20 19:06 feitelogram

I wouldn't say using alchemist-server is the ideal solution, it seems like it doesn't give as many suggestions as elixir-sense (for me at least). It doesn't always suggest local variables or things from other files.

MC-DeltaT avatar Jun 15 '20 12:06 MC-DeltaT

I have this problem as well. :(

RobertLowe avatar Sep 28 '20 12:09 RobertLowe

I was having the same problem and unfortunately looks like this repository is not being actively maintained anymore. After some research, I found this extension which solved my problem, hope it helps y'all as well :)

luizbaldi avatar Sep 30 '20 22:09 luizbaldi