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 225516 - Different coloring between single and multiple lines comments
Summary: Different coloring between single and multiple lines comments
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2.1
Hardware: All All
: P2 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 09:35 UTC by fourmi4x
Modified: 2013-01-31 09:42 UTC (History)
1 user (show)

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 fourmi4x 2013-01-30 09:35:53 UTC
Hi,
I'm discovering Netbeans and everything is really awesome so far, but there is one thing that I really regret: On PHP editor for instance, there is no way to put a different color/theme for single line comments versus multiple lines comments.
/* this would be for ex. with a yellow background */
// This would be on a white background

This may sound futile but it's actually how I structure all my code: by putting a background on multiple lines comments, they really stand out and I can quickly see how it's structured, and single lines comments are really a bit everywhere.

I tried to work on Netbeans without that, but I already switched back to Aptana which allows that differentiation, because this feature is just saving me so much time in understanding code structure, for code written by others as well.
Comment 1 Ondrej Brejla 2013-01-30 12:13:36 UTC
Good idea.

Fixed in web-main #2aa0db7a5d17
Comment 2 fourmi4x 2013-01-30 12:40:22 UTC
Awesome! Does it mean I need to download the latest dev version? Or which version is that?

(In reply to comment #1)
> Good idea.
> 
> Fixed in web-main #2aa0db7a5d17
Comment 3 Ondrej Brejla 2013-01-30 12:42:32 UTC
Yes, it's in dev version, so it will NOT be in 7.3(.x) versions (since there is a code freeze for em). It's a new feature for next release - 8.0.
Comment 4 fourmi4x 2013-01-30 14:53:32 UTC
Ok thank you, I'll try that.
Comment 5 Quality Engineering 2013-01-31 03:12:10 UTC
Integrated into 'main-golden', will be available in build *201301310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2aa0db7a5d17
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #225516 - Different coloring between single and multiple lines comments
Comment 6 Martin Kanak 2013-01-31 09:42:42 UTC
Different coloring for single and multiple lines comments works fine.

Product Version: NetBeans IDE Dev (Build 201301310001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Linux version 3.2.0-36-generic running on amd64; UTF-8; en_US (nb)