This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168505 - cout arrows should be better aligned, like in emacs
Summary: cout arrows should be better aligned, like in emacs
Status: RESOLVED DUPLICATE of bug 154889
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 20:03 UTC by Thomas Preisler
Modified: 2009-09-17 19:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2009-07-13 20:03:04 UTC
Originally CR 6781908:

JUSTIFICATION :
beautiful code is easier to read
-> world peace

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
    std::cout << "# desired tree size:\t" << currentIndexSize
                    << "\ttree size reported by implementation:\t"
                    << myIndex.size() << endl;
ACTUAL -
    std::cout << "# desired tree size:\t" << currentIndexSize
            << "\ttree size reported by implementation:\t"
            << myIndex.size() << endl;
*** (#1 of 1): 2008-12-07 11:27:42 PST bradley
Comment 1 Alexander Simon 2009-08-18 21:00:09 UTC
I do not understand a request.
IDE formats continuation lines with "Statement Continuation Indent" (by default 8).
What user expected?
- change default value "Statement Continuation Indent"
- add additional "Statement Continuation Indent" for "cout <<"
- add additional "Multiline Alignment" for "<<"
Comment 2 Alexander Simon 2009-08-19 08:22:27 UTC
My guess that indent new line work wrong.
Example. User press enter in line:
std::cout << "# desired tree size:\t" |<< currentIndexSize << endl;
Cursor position is |
IDE behaviour:
Actual:
std::cout << "# desired tree size:\t" 
<< currentIndexSize << endl;
Expected:
std::cout << "# desired tree size:\t" 
        << currentIndexSize << endl;

Comment 3 Alexander Simon 2009-08-19 20:15:49 UTC
Does IZ#154889 duplicate issue?
Comment 4 Alexander Simon 2009-09-17 19:19:59 UTC

*** This issue has been marked as a duplicate of 154889 ***