Bug 54766 - Auto source code format removes whitespace
Summary: Auto source code format removes whitespace
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M8   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 13:18 EST by Moti Nisenson CLA
Modified: 2004-03-15 09:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moti Nisenson CLA 2004-03-14 13:18:02 EST
Using the auto source code format feature (CTRL+SHIFT+F) removes blank lines
within methods, resulting in less readable code.
Comment 1 Olivier Thomann CLA 2004-03-15 09:36:37 EST
This is configurable.
See Preferences>Java>Code formatter>Add a new profile and set the preference to
preserve one or more empty lines.
Close as INVALID.
Comment 2 Olivier Thomann CLA 2004-03-15 09:37:19 EST
I forgot to mention that you need to use a build M7 or above.