Bug 69718

Summary: [formatting] Code Formatter inserts newlines on each format of Java code snipped in comments
Product: [Eclipse Project] JDT Reporter: Peter Schaich <peter.schaich>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jerome_lanneluc
Version: 3.0   
Target Milestone: 3.4 RC3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
A Code formatter setting to reproduce
none
A source file to reproduce the bug none

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