Community
Participate
Working Groups
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.
Patch submitted for JDT/UI team.
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.
*** This bug has been marked as a duplicate of 3331 ***