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 247038 - not allowing to collapse Lambda expression code blocks
Summary: not allowing to collapse Lambda expression code blocks
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P2 normal with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-11 15:32 UTC by FiruzzZ
Modified: 2015-01-09 11:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (154.00 KB, text/plain)
2014-09-11 15:32 UTC, FiruzzZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FiruzzZ 2014-09-11 15:32:10 UTC
I move a project from jdk7 to 8, and started the refactoring, mostly forEach iteration and hint "Converts anonymous inner classes to lambda expressions or member references" and I noticed that with these new Lambda expressions blocks can't be collapsed, the IDE doesn't show the "[+]" icon 
 [+]
  |
  |
  |

Hope that I made myself clear..

Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_55
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.55-b03
Comment 1 FiruzzZ 2014-09-11 15:32:31 UTC
Created attachment 149149 [details]
IDE log
Comment 2 Svata Dedic 2015-01-09 11:25:58 UTC
Not a defect. Currently only methods + classes are collapsible in Java. Increasing enhancement priority.