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.
When I attempt to create a multi-line comment like this: /** * The additional *'s per line are created, but the closing comment */ isn't added. I haven't found anything in the configuration which could affect this behaviour. In contrast, the PHP editor does it correctly by default. Product Version = NetBeans IDE 7.2 RC1 (Build 201206272359) Operating System = Linux version 3.2.0-2-rt-amd64 running on amd64 Java; VM; Vendor = 1.6.0_24 Runtime = OpenJDK 64-Bit Server VM 20.0-b12
Created attachment 121863 [details] IDE log
This issue is also in NB 7.3. The unfinished comment is marked as error and coloring doesn't color the rest of code as comment. The right behavior should be /** *|<- after pressing enter here the result should be: /** * * | <-caret position */
Please find below relevant commits related to the bug #215318 https://hg.netbeans.org/jet-main/rev/350094d9a7a5
Integrated into 'main-silver', will be available in build *201705110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/183ef041790c User: Arusinha <arusinha@netbeans.org> Log: #215318: Fixing the auto comment population