Skip to content

Use specs for autocomplete #74

@archydragon

Description

@archydragon

Feature request. E.g. I have the following function:

-spec cmd(Command :: binary(), Params :: list()) -> {ok, Reply :: binary()} | error.
cmd(<<"help">>, []) ->
    % something goes here
cmd(<<"status">>, Message) ->
    % something goes here too

But it is autocompleted as cmd(Param1, Message). Why don't use specs for readable parameter names if they're available?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions