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 236318 - "//" should be automatically added when comments are divided
Summary: "//" should be automatically added when comments are divided
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 11:20 UTC by ssazonov
Modified: 2013-10-04 11:17 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 ssazonov 2013-09-24 11:20:56 UTC
1. Open any java class

2. Type anywhere:

// some comment

3. Put caret before word "comment":

// some |comment

4. Press enter and you'll get following text:

// some 
comment

>> i think the better way is to implement auto "//" adding, so after pressing enter the text will lok following:

// some 
// comment


This feature may be already implemented and it is switched off in options, if it is, sorry for invalid report :)

Product Version: NetBeans IDE 7.4 RC1 (Build 201309152201)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)