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 239196 - [Shift+Enter] allow adding blank line after "grey" lines
Summary: [Shift+Enter] allow adding blank line after "grey" lines
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-06 13:39 UTC by ssazonov
Modified: 2013-12-18 09:24 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
img (79.00 KB, image/png)
2013-12-06 13:39 UTC, ssazonov
Details
img (79.00 KB, image/png)
2013-12-18 09:23 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2013-12-06 13:39:21 UTC
Created attachment 142907 [details]
img

If I need to add some variables on the first line of a method I'm used to place caret anywhere into the head of a method and than press Shift+Enter what causes that new line is added and cursor is moved to this line and properly indented.

I think it may be useful to allow this feature on the "grey lines" which are forbidden to modify (see attached image)

Product Version: NetBeans IDE Dev (Build 201311290002)
Updates: Updates available
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 ssazonov 2013-12-18 09:23:12 UTC
Created attachment 143291 [details]
img
Comment 2 ssazonov 2013-12-18 09:24:12 UTC
Comment on attachment 142907 [details]
img

invalid image