Bug 50899 - [Formatter] wrap of endline comment
Summary: [Formatter] wrap of endline comment
Status: RESOLVED DUPLICATE of bug 47620
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 14:28 EST by Sebastian Davids CLA
Modified: 2004-01-29 17:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Davids CLA 2004-01-29 14:28:29 EST
There should be an option to not wrap endline comments.

@@ Test case - 3 lines @@

    void endlineComment() {
        System.out.println("            ");
//veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeery endline comment
    }

@@ after format -- 4 lines @@

    void endlineComment() {
        System.out.println("            "); //veeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeery
                                            // endline comment
    }

@@@@

This is related to bug 50896 but both are to be handled seperately.
Comment 1 Olivier Thomann CLA 2004-01-29 17:28:26 EST
I don't format the comments, except aligning the starting '*'. This will be
changed if I get a chance to work on it.
This might be related to comment formatting performed by JDT/Text.
Move to JDT/Text for comment
Comment 2 Tom Hofmann CLA 2004-01-29 17:35:42 EST

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