Bug 71938 - [formatting] Provide fine grained Comment formatting
Summary: [formatting] Provide fine grained Comment formatting
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 09:14 EDT by Jason Rogers CLA
Modified: 2007-06-22 10:16 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!