Bug 69718 - [formatting] Code Formatter inserts newlines on each format of Java code snipped in comments
Summary: [formatting] Code Formatter inserts newlines on each format of Java code snip...
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: 3.4 RC3   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 10:18 EDT by Peter Schaich CLA
Modified: 2008-05-30 13:05 EDT (History)
1 user (show)

See Also:


Attachments
A Code formatter setting to reproduce (19.10 KB, text/plain)
2004-07-09 10:19 EDT, Peter Schaich CLA
no flags Details
A source file to reproduce the bug (24.11 KB, text/plain)
2004-07-09 10:20 EDT, Peter Schaich CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Schaich CLA 2004-07-09 10:18:21 EDT
When 'Format Java code snippets' is checked in the Comments Tab of the Code
Formatter,  on each Ctrl-Shift-F,  a new lines are added in some code snippets
in java doc comments, so pressing 10 times Ctrl-Shift-F on the same file 
each time changes the file and inserts new lines.
I will attach a sample source from org.apache.bsf and my code formatter used,
so it can be reproduces.
Comment 1 Peter Schaich CLA 2004-07-09 10:19:26 EDT
Created attachment 13103 [details]
A Code formatter setting to reproduce
Comment 2 Peter Schaich CLA 2004-07-09 10:20:55 EDT
Created attachment 13104 [details]
A source file to reproduce the bug
Comment 3 Dani Megert CLA 2004-07-12 08:42:52 EDT
see also bug 52921
Comment 4 Dani Megert CLA 2005-10-10 12:06:28 EDT
Ownership changed.
Comment 5 Frederic Fusier CLA 2008-05-27 05:21:30 EDT
I cannot reproduce neither with 3.3.2 nor with 3.4RC2 => close as WORKSFORME
Comment 6 Jerome Lanneluc CLA 2008-05-30 13:04:13 EDT
Verified for 3.4RC3 using I20080530-0100