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

Allow customizing comment formatting through Printer method #118

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

Jeroeny
Copy link
Contributor

@Jeroeny Jeroeny commented Oct 3, 2022

  • new feature
  • BC break? no

We'd like to be able to print a comment to a single line

/** like so */

However the printer injects a \n in every Helpers::formatDocComment call. Currently this isn't adjustable when using the library, I hope it can be made so that it is overridable in a child class of the Printer. Or if there's another way to make this possible, let me know.

@dg dg merged commit c175240 into nette:master Oct 3, 2022
dg pushed a commit that referenced this pull request Oct 3, 2022
dg pushed a commit that referenced this pull request Oct 4, 2022
dg pushed a commit that referenced this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants