Skip to content

Allow customizing comment formatting through Printer method#118

Merged
dg merged 1 commit intonette:masterfrom
Jeroeny:newline
Oct 3, 2022
Merged

Allow customizing comment formatting through Printer method#118
dg merged 1 commit intonette:masterfrom
Jeroeny:newline

Conversation

@Jeroeny
Copy link
Copy Markdown
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