When copy/pasting function names, exclude metadata
Doerge opened this issue Β· comments
Thanks for a great project! π
I'm not 100% sure this is the correct repo to post in, so pardon me, if it belongs somewhere else.
I often find myself using hexdocs and then copy/pasting function or attribute names to my editor. When I do that I get a bit of extra meta data, other than the name:
becomes
in my editor.
It would be nice if I would only get add_error
instead of functionadd_error
in this example.
HexDocs.pm is only concerned with docs hosting, not the docs itself. The bug is in https://github.com/elixir-lang/ex_doc; a PR would be appreciated!
fwiw copy-pasting the name from the spec doesn't have this issue :) but yeah, we should definitely fix this.