Community
Participate
Working Groups
when using the code formatter to programmaticly format the following string an extra { is add before the string for some reason. public Ns1(){} becomes }public Ns1(){}
I have figured this out in the mean time it seems to be related to reuseing the same ICodeFormatter object for muiltply format calls. I assume this is not supposed to happend if this is the case maybe an exception should be throw the 2nd time??
*** Bug 25976 has been marked as a duplicate of this bug. ***
We need to clear 2.1 bug reports that won't be addressed before 2.1. The new implementation is still in the works. Therefore we cannot include it for 2.1. Not enough testing and we need to polish the preferences. This will be address for 2.2 as stated in the JDT/Core plan.
This could be simply fix by resetting properly the formatter for each formatting.
*** Bug 29716 has been marked as a duplicate of this bug. ***
Fixed and released in 2.1 stream. Regression tests added.
Verified.