Bug 197491 - Option to not format single line comments
Summary: Option to not format single line comments
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2.2   Edit
Hardware: PC Windows Server 2003
: P3 enhancement (vote)
Target Milestone: 3.3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 10:53 EDT by Bob Durie CLA
Modified: 2007-07-23 21:37 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 Bob Durie CLA 2007-07-23 10:53:33 EDT
For the java (or perhaps othen langs) formatter, we'd like the option to not code format single line comments that use the // syntax.  

We tag code with various machine read tags, or often simple instructions at the end of a line, and would like to have the option to tell the formatter to ignore those lines all together.  We still want formatting but want an option:

[Yes/No] Enable comment formatting for // style formatting

Or something like that...
Comment 1 Olivier Thomann CLA 2007-07-23 10:56:55 EDT
This is done for Eclipse 3.3.
Comment 2 Olivier Thomann CLA 2007-07-23 21:36:59 EDT
Closing as INVALID since already implemented in Eclipse 3.3.