Community
Participate
Working Groups
Version: 3.1.0 Build id: I20050401-1645 Ctrl+Shift+F for comments with TODO malfunctioned compared with M4. See attachments.
Created attachment 19847 [details] Before Format
Created attachment 19848 [details] After Format
JDT Core change the "Clear blank lines in comments" (FORMATTER_COMMENT_CLEAR_BLANK_LINES) preference from FALSE to TRUE when adopting the comment formatter from JDT UI. You can simply uncheck this preference again to get the old behavior.
But where can I find the option in Preferences?
Java > Code Style > Formatter - Edit... (Comments tab)
I will change the default value.
I don't think we are talking same software. I get "Java > Code Style > Formatter", but I can't find "- Edit... (Comments tab)". See attachement.
Created attachment 19861 [details] Where is "- Edit... (Comments tab)"?
Jim, this is a mistake in the default settings of the code formatter preferences. I will fix it even if this is an API change for the default value. Ok for you?
Try "Show..."
Fixed as this is indeed a regression compare to previous version of 3.1 milestone builds.
Regression test added in FormatterRegressionTests.test574.
Verified for 3.1 M7 using build I20050512-2035 + jdt.core HEAD.