We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this is about the format when writing comments using the method specified by ex_doc, which is available from OTP27.
when the following code is formatted, it is expected to appear as shown in the link below
-module(math). -moduledoc """ A module for basic arithmetic. """. -export([add/2]). -doc "Adds two numbers together.". -spec add(number(), number()) -> number(). add(One, Two) -> One + Two.
https://erlang.org/documentation/doc-15.0-rc1/doc/system/documentation.html
However, in reality, two blank lines are inserted between the function and the comment, as shown below:
If there is any workaround, I would appreciate your advice.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. I think that efmt should be fixed to handle this case correctly.
efmt
Sorry, something went wrong.
-doc
[FYI] Just released efmt-v0.18.3, which includes a fix for this issue.
Thank you very much. I was able to use the corrected version successfully and the problem has been resolved.
👍
Successfully merging a pull request may close this issue.
this is about the format when writing comments using the method specified by ex_doc, which is available from OTP27.
when the following code is formatted, it is expected to appear as shown in the link below
However, in reality, two blank lines are inserted between the function and the comment, as shown below:
If there is any workaround, I would appreciate your advice.
The text was updated successfully, but these errors were encountered: