Title: Formatter: "Remove blank lines in Javadoc" is being ignored. · Issue #2122 · redhat-developer/vscode-java · GitHub
Open Graph Title: Formatter: "Remove blank lines in Javadoc" is being ignored. · Issue #2122 · redhat-developer/vscode-java
X Title: Formatter: "Remove blank lines in Javadoc" is being ignored. · Issue #2122 · redhat-developer/vscode-java
Description: The option "Remove blank lines in Javadoc" (org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment) is being ignored. The output remains the same regardless of this setting. Environment Operating System: Windows NT 1...
Open Graph Description: The option "Remove blank lines in Javadoc" (org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment) is being ignored. The output remains the same regardless of this setting. En...
X Description: The option "Remove blank lines in Javadoc" (org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment) is being ignored. The output remains the same regardless of this s...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/2122
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Formatter: \"Remove blank lines in Javadoc\" is being ignored.","articleBody":"\u003c!-- \r\n IF YOUR ISSUE CONCERNS RUNNING/DEBUGGING JAVA CODE, \r\n PLEASE OPEN YOUR TICKET IN https://github.com/microsoft/vscode-java-debug/issues \r\n--\u003e\r\n\r\nThe option \"Remove blank lines in Javadoc\" (`org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment`) is being ignored. The output remains the same regardless of this setting.\r\n\r\n##### Environment\r\n- Operating System: Windows NT 10.0\r\n- JDK version: 16.0.27 Hotspot\r\n- Visual Studio Code version: 1.60.1 (user setup)\r\n- Java extension version: v0.82.0\r\n\r\n##### Steps To Reproduce\r\n1. Use a custom formatter for Java\r\n2. Change the option `org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment` to true, either in the formatter preview, or directly via the xml.\r\n3. Blank lines in javadocs aren't cleared.\r\n\r\nProject:\r\n\r\nFormatter Preview:\r\n\r\n\r\n[log.log](https://github.com/redhat-developer/vscode-java/files/7190630/log.log)\r\n**The jdt_ws log is attached - The java.trace logs returned nothing.**\r\n\r\n##### Current Result\r\n\r\nCurrently the lines aren't removed from the javadoc.\r\n```java\r\n/**\r\n * Some description of the method\r\n * \r\n * \r\n * \r\n * \r\n * @param arg1 A parameter\r\n * @param arg2 Another parameter\r\n */\r\n```\r\n\r\n##### Expected Result\r\n\r\nThe lines should be removed from the javadoc:\r\n```java\r\n/**\r\n * Some description of the method\r\n * @param arg1 A parameter\r\n * @param arg2 Another parameter\r\n */\r\n```\r\n\r\n\u003c!--\r\n##### Additional Information\r\nNo additional information is available. Therefore, this has been commented-out.\r\n--\u003e","author":{"url":"https://github.com/rhystedstone","@type":"Person","name":"rhystedstone"},"datePublished":"2021-09-18T20:58:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/2122/vscode-java/issues/2122"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:22cd621d-7873-694d-c9ad-1dbc0125b56d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94C0:136ED2:12C13A5:180C689:6990D2B8 |
| html-safe-nonce | 5e45ea0752a7f0e948d95ac1ee0efcce67451becf83f65573b85365eb69ebb31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEMwOjEzNkVEMjoxMkMxM0E1OjE4MEM2ODk6Njk5MEQyQjgiLCJ2aXNpdG9yX2lkIjoiMjY2NDkwODc2NjYyNTk3NzAxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3d26da988b4c7c6790ac0faac5d2399cb0de13541cb208707b00a35c50475f0a |
| hovercard-subject-tag | issue:1000132795 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/redhat-developer/vscode-java/2122/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35bb76f2808098047f52af73a2fb8c46f2f84c07f895f0841e089db2590ed3b4/redhat-developer/vscode-java/issues/2122 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35bb76f2808098047f52af73a2fb8c46f2f84c07f895f0841e089db2590ed3b4/redhat-developer/vscode-java/issues/2122 |
| og:image:alt | The option "Remove blank lines in Javadoc" (org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment) is being ignored. The output remains the same regardless of this setting. En... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rhystedstone |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width