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 123269 - Java Line Comment Color setting is missing
Summary: Java Line Comment Color setting is missing
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 16:06 UTC by cbr600f
Modified: 2011-08-31 14:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cbr600f 2007-12-03 16:06:27 UTC
(Sorry if this one is dupe, searched summary for "Java Line Comment" and was no ocurrence at all)

In NB 6.0, the Java Line Comment color setting (under fonts & colors) is missing.

This has been on NB for a long time, and my team considers a best practice to use single line comments as important
statements in the code, so they used to be on BOLD-RED.

Unlike block comments, which are a general explanation for a block of code, line comments are more than important and
thus we should have the option to change their appereance as a separate entity, instead of having them as same level as
Comment or Block Comment.

/** General description for method
 * ... more doc
 */
 public void foo() {
    ...do stufff

    //time-consumpting task!
    bar();

    ...do stufff
 }

 private void bar() {
    wait(5L*1000);
 }

Above, we want "//time-consumpting task!" to be in bold / red while keeping block (/**... */) comments "inherited".
Comment 1 Peter Pis 2007-12-04 12:34:40 UTC
Reassigning to "editor".
Comment 2 Jiri Prox 2008-04-11 00:53:27 UTC
moving opened issues from TM <= 6.1 to TM=Dev