Skip to content

Conversation

nya3jp
Copy link
Contributor

@nya3jp nya3jp commented Mar 19, 2025

We used to show only the first sentence on hovering/completing identifiers. This patch allows parsing the whole javadoc.

MarkdownHelper used to manually parse javadoc and thus was hard to extend to support various javadoc syntaxes. So this patch overhauls it to use DocTreeScanner to scan the parsed javadoc AST.

We used to show only the first sentence on hovering/completing
identifiers. This patch allows parsing the whole javadoc.

MarkdownHelper used to manually parse javadoc and thus was hard to
extend to support various javadoc syntaxes. So this patch overhauls it
to use DocTreeScanner to scan the parsed javadoc AST.
@alepekhin
Copy link

Thank you for this improvement. It works. One thing I found: when I run tests as mvn clean test I have
[ERROR] Failures: [ERROR] MarkdownHelperTest.formatSimpleTags:40 Expected: "*foo*" but: was "This is a method.\n\n\n\n*@param*aaaa\n\n\n\n*@param*bbbb\n\n\n\n*@return* ccc\n\n\n\n*@throws* ddd\n\n" [INFO] [ERROR] Tests run: 230, Failures: 1, Errors: 0, Skipped: 10
If I run this test separately it passed

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