Skip to content
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

Presence of def in autocompletion of GenServer methods #105

Closed
smithjessk opened this issue Nov 7, 2017 · 1 comment
Closed

Presence of def in autocompletion of GenServer methods #105

smithjessk opened this issue Nov 7, 2017 · 1 comment

Comments

@smithjessk
Copy link

I see the handle_call autocomplete option when I have the following code snippet:

defmodule TestVscodeAutocomplete do
  use GenServer

  handle_call
end

However, I when I autocomplete handle_call by hitting enter, I get:

defmodule TestVscodeAutocomplete do
  use GenServer

   handle_call(request, from, state) do
    
  end
    
end

with the extra space before the function name and lack of the def keyword.

When I autocomplete with the def keyword (i.e. from def handle_call), I get:

defmodule TestVscodeAutocomplete do
  use GenServer

  def def handle_call(request, from, state) do
    
  end
  
end

The same problem also exists for handle_info and handle_call.

Please let me know whatever other information you would like from me. Thanks!

@smithjessk
Copy link
Author

Actually, this seems to be from ElixirSense since changing to Alchemy does not provide the same auto-complete options. Sorry for the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant