What would you like to see?
It would be great if the LSP could suggest struct fields for me, at least in cases where the type is glaringly obvious. For example,
def do_the_thing(%State{} = state) do
state.<ctrl-space>
end
it would be great if at the point of ctrl-space, Dexter would suggest fields on State to me.
Why?
This would give better suggestions and avoid mistakes when looking up fields. I'm sure this is difficult to do in the general case, given this isn't compliation based, but perhaps some specific cases could be covered?
Alternatives considered
Not sure there are alternatives beyond my IDEs built in "buffer words" completions.
What would you like to see?
It would be great if the LSP could suggest struct fields for me, at least in cases where the type is glaringly obvious. For example,
it would be great if at the point of
ctrl-space, Dexter would suggest fields onStateto me.Why?
This would give better suggestions and avoid mistakes when looking up fields. I'm sure this is difficult to do in the general case, given this isn't compliation based, but perhaps some specific cases could be covered?
Alternatives considered
Not sure there are alternatives beyond my IDEs built in "buffer words" completions.