Summary: | Malfunction of Format function | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerry Mising name <commer> | ||||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | minor | ||||||||||
Priority: | P3 | CC: | daniel_megert, jeem | ||||||||
Version: | 3.1 | ||||||||||
Target Milestone: | 3.1 M7 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows XP | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Jerry Mising name
2005-04-13 02:00:44 EDT
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. |