Bug 232054 - [formatter] Formatting selected Javadoc does not join certain lines
Summary: [formatter] Formatting selected Javadoc does not join certain lines
Status: VERIFIED DUPLICATE of bug 232768
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 RC3   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 08:26 EDT by Dani Megert CLA
Modified: 2009-06-25 11:41 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2008-05-14 08:26:44 EDT
+++ This bug was initially created as a clone of Bug #231093 +++

Bug 231093 added a workaround for this in JDT Text land.

- new workspace
- paste:

/**
 * An internal class that does something
 * you really want to have done.
 * 
 * @since 3.4
 */
public class C {

}

- select the two first lines of Javadoc text
- Ctrl+Shift+F
=> was: nothing changed
=> expected: text formatted into one line

What's interesting is that it works when I either select the whole Javadoc, or when I remove the word 'something'.
Comment 1 Frederic Fusier CLA 2008-05-23 09:47:22 EDT
Remove incorrect dependency: bug 232768 cannot depend on this bug as it's concerns a remaining issue in the workaround implemented in JDT/Text land for 3.4 (see bug 231093).

This bug has been opened to address this issue in JDT/Core land and so remove the workaround in JDT/Text but will be investigated only in 3.5
Comment 2 Frederic Fusier CLA 2008-05-24 16:56:29 EDT
We can consider this bug as a duplicate of bug 232768 as the patch applied for
that bug also fixes this one...

Note that the workaround applied in JDT/Text to fix bug 231093 will need to be removed when fix for bug 232768 will be released in JDT/Core HEAD.


*** This bug has been marked as a duplicate of bug 232768 ***
Comment 3 David Audel CLA 2008-05-30 10:49:29 EDT
Verified for 3.4RC4 using build I20080530-0100