elixir-tools / next-ls

The language server for Elixir that just works. Ready for early adopters!
https://www.elixir-tools.dev/next-ls
MIT License
676 stars 40 forks source link

completions: behaviour callbacks #458

Open mhanberg opened 3 months ago

mhanberg commented 3 months ago

Problem

There is not autocomplete for callbacks for the behaviours of the current module.

Solution

When the cursor is in a situation like def | or defp |, the completions should show callback names as candidates.

So for a GenServer, it would autocomplete handle_call, init, handle_cast, etc.

fuelen commented 3 months ago

just came to create this issue :)

nicolasferraro commented 1 month ago

I'd love to tackle this one if it's up for grabs!

NJichev commented 1 month ago

Go for it, I don't think anyone's working on this one.

mhanberg commented 1 month ago

@nicolasferraro id hold off actually.