Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Build Identifier: 20090920-1017 Formatter converts /* * (non-Javadoc) * @see org.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.IApplicationContext) */ to /* * (non-Javadoc) * @seeorg.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app. * IApplicationContext) */ Wrapping at '.' seems okay, but removing ' ' after @see is definitely wrong. JDoc is not worrying about, but it looks awful. Reproducible: Always Steps to Reproduce: 1. insert example 2. set max line length to 80 (default) 3. format the source code
Created attachment 154279 [details] demo video showing problem when formatting on save demo video showing problem when formatting on save
Created attachment 154675 [details] Simple test case showing the problem Copy this simple compilation unit in the org.eclipse.jdt.core package created in a simple java project and format it...
Created attachment 154769 [details] Proposed patch This patch fixes the problem by not trimming the too long sequence of tokens which is finally kept on the same line...
Released for 3.6M5 in HEAD stream. All JDT/UI and JDT/Text tests are OK.
Verified for 3.6M5 using Build id: I20100122-0800
Verified.
*** Bug 299801 has been marked as a duplicate of this bug. ***
*** Bug 270943 has been marked as a duplicate of this bug. ***