Bug 29556

Summary: Formatter option for space in cast expression
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Olivier Thomann CLA 2003-01-15 13:36:01 EST
Using 0115, there is no option to insert/remove the space in a cast expression.
int i = (int) 0.0;
could also be formatted like:
int i = (int)0.0;

A quickfix feature requires to know what is the user's preference in this case. 
Therefore the code formatter has to support it.
Comment 1 Olivier Thomann CLA 2003-01-15 13:41:45 EST
Patch submitted for JDT/UI team.
Comment 2 Dani Megert CLA 2003-01-16 02:39:03 EST
I really don't get the difference between my PR (bug 3331 - DCR: Code Formatter
should offer cast without space) that I filed and you just resolved with LATER
and this new PR. Please shed some light on this.
Comment 3 Olivier Thomann CLA 2003-01-16 08:17:05 EST

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