Bug 22434 - separate visible formatting from file formatting
Summary: separate visible formatting from file formatting
Status: RESOLVED DUPLICATE of bug 45423
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-14 13:34 EDT by Lee Breisacher CLA
Modified: 2005-10-10 12:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Breisacher CLA 2002-08-14 13:34:18 EDT
Here's an idea that removes all "religious" arguing about how to properly 
format Java code. (I often see arguments even within a single development team 
about code formatting - one developer prefers it this way, another prefers it 
that way. Standards are decided on, but there's often ongoing discussions about 
this detail or that). Anyway, here's the idea: When a file is saved, 
some "canonical" format is used, so all saved files have the same format. But 
when a file is viewed, the individual's formatting preferences are applied. So 
each individual can have their own formatting preferences, but their 
preferences do not affect what gets saved in the file - just what they see in 
their eclipse code editor. Bottom line is: there is a clean separation between 
an individual's formatting preferences (which do not affect anyone else) and 
the saved-file format. I suppose one additional tweak on this could be: the 
saved file format could also be controlled by a set of formatting preferences - 
perhaps shared by a development group.
Comment 1 Dani Megert CLA 2005-10-10 12:45:55 EDT

*** This bug has been marked as a duplicate of 45423 ***