Skip to content

Fix adding old-style javadocs when markdown comments are defaulted - #3104

Merged
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:fixcreatejava
Aug 5, 2026
Merged

Fix adding old-style javadocs when markdown comments are defaulted#3104
jjohnstn merged 1 commit into
eclipse-jdt:masterfrom
jjohnstn:fixcreatejava

Conversation

@jjohnstn

@jjohnstn jjohnstn commented Aug 5, 2026

Copy link
Copy Markdown
Contributor
  • fix JavaDocAutoIndentStrategy to keep track of when an old javadoc comment is created in indentAfterNewline() and pass this info along when creating tags including to CodeGeneration methods so that the choice of using markdown templates is not based on the use markdown preference and is overridden

  • add new APIs to CodeGeneration and StubUtility to take added boolean

  • bump up o.e.jdt.core.manipulation minor version

  • fixes Adding javadoc comment with /** when use markdown selected does not work #3100

    to

What it does

See issue.

How to test

See issue.

Author checklist

- fix JavaDocAutoIndentStrategy to keep track of when an old javadoc
  comment is created in indentAfterNewline() and pass this info along
  when creating tags including to CodeGeneration methods so that the
  choice of using markdown templates is not based on the use markdown
  preference and is overridden
- add new APIs to CodeGeneration and StubUtility to take added boolean
- bump up o.e.jdt.core.manipulation minor version
- fixes eclipse-jdt#3100

  to
@jjohnstn jjohnstn self-assigned this Aug 5, 2026
@jjohnstn jjohnstn added the bug Something isn't working label Aug 5, 2026
@jjohnstn jjohnstn added this to the 4.41 M3 milestone Aug 5, 2026
@jjohnstn
jjohnstn merged commit 7d8d604 into eclipse-jdt:master Aug 5, 2026
13 checks passed
@jjohnstn
jjohnstn deleted the fixcreatejava branch August 5, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding javadoc comment with /** when use markdown selected does not work

1 participant