Skip to content

fix: keep generic method call leading comments on their own line#895

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/generic-method-chain-leading-comment
May 19, 2026
Merged

fix: keep generic method call leading comments on their own line#895
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/generic-method-chain-leading-comment

Conversation

@jtkiesel
Copy link
Copy Markdown
Contributor

What changed with this PR:

Leading comments on generic method invocations are now kept on their own line.

Example

Input

a
  // 1
  .b()
  // 2
  .<C>c();

Output

a
  // 1
  .b()
  // 2
  .<C>c();

Relative issues or prs:

Closes #884

@jtkiesel jtkiesel merged commit ad28ffa into jhipster:main May 19, 2026
6 checks passed
@jtkiesel jtkiesel deleted the fix/generic-method-chain-leading-comment branch May 19, 2026 04:18
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.9.2] Regression with method-call-dot placement

1 participant