Bug 266109

Summary: [formatter] Increase the word wrapping size in the code formatter
Product: [Eclipse Project] JDT Reporter: Prakash Rangaraj <prakash>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, david_audel
Version: 3.5   
Target Milestone: 3.5 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Prakash Rangaraj CLA 2009-02-25 06:47:26 EST
Build ID: I20090224-0800

The standard word wrapping in JDT code formatting is 80. It appears that (from Bug# 258729) its based on the Java coding guidelines, which is pretty old. Can that be changed to a higher number? say 100 or 120?
Comment 1 Dani Megert CLA 2009-02-25 06:52:56 EST
I don't think we need to change this given that people can change this is desired.

Note that this change would need a new profile as we don't touch existing ones.
Comment 2 Frederic Fusier CLA 2009-02-25 07:57:29 EST
(In reply to comment #1)
> I don't think we need to change this given that people can change this is
> desired.
> 
> Note that this change would need a new profile as we don't touch existing ones.
> 
I also agree that we do not need to change that. If so, then we would introduce a compatibility issue surely making users of Save actions including formatting definitely not happy...

Even if the Java coding conventions is quite old, then they are still valid. hence, as Eclipse conventions for code are based on them, I doubt we will change this value...
Comment 3 David Audel CLA 2009-03-09 10:37:07 EDT
Verified for 3.5M6.