Closed zachallaun closed 2 months ago
This is essentially the inverse of #787.
The following:
@sp| def my_function(arg) do ... end
Completes to:
@spec def my_function(arg) do ... end
If the completion is immediately before a def, the function name and arity could be inferred:
@spec my_function(term()) :: term() def my_function(arg) do end
You can also infer the arg names
@spec my_function(arg :: term()) :: term
This is essentially the inverse of #787.
The following:
Completes to:
If the completion is immediately before a def, the function name and arity could be inferred: