Bug 71938

Summary: [formatting] Provide fine grained Comment formatting
Product: [Eclipse Project] JDT Reporter: Jason Rogers <jason>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: 3.3 RC4   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jason Rogers CLA 2004-08-13 09:14:20 EDT
I would like to enable/disable comment formatting /within/ methods separately 
from outside of methods.  Sometimes we put UseCase comments within a method 
(particularly in tests) and we format them manually.  The manual formatting is 
blown away when the file is formatted because we have enabled comment formatting 
globally (which we still want to have happen).  It might even work just to have 
a "Preserve Line Endings" option in the Comments tab of the Code Formatter 
Editor.  When I enter a new line, I do because I want it there, I don't want the 
comment on the next line to be pushed up to fill the max-characters-per-line 
value.
Comment 1 Dani Megert CLA 2005-10-10 12:51:56 EDT
Ownership changed.
Comment 2 Olivier Thomann CLA 2007-06-21 11:21:32 EDT
Block/Line/Javadoc comment can be formatted independently from each others in 3.3.
Is this good enough? 
Comment 3 Jason Rogers CLA 2007-06-22 10:13:11 EDT
Yes, that works great!