Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use specs for autocomplete #74

Open
archydragon opened this issue Dec 14, 2013 · 0 comments
Open

Use specs for autocomplete #74

archydragon opened this issue Dec 14, 2013 · 0 comments

Comments

@archydragon
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant