next-ls icon indicating copy to clipboard operation
next-ls copied to clipboard

completions: behaviour callbacks

Open mhanberg opened this issue 1 year ago • 4 comments

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.

mhanberg avatar May 09 '24 14:05 mhanberg

just came to create this issue :)

fuelen avatar May 24 '24 08:05 fuelen

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

nicolasferraro avatar Jul 10 '24 21:07 nicolasferraro

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

NJichev avatar Jul 10 '24 21:07 NJichev

@nicolasferraro id hold off actually.

mhanberg avatar Jul 11 '24 00:07 mhanberg