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 253718 - Anonymous class body does not end with ';'
Summary: Anonymous class body does not end with ';'
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2015-07-24 09:02 UTC by stwr
Modified: 2016-08-10 19:36 UTC (History)
1 user (show)

See Also:
Exception Reporter:

Picture showing the current behavior (10.96 KB, image/png)
2015-07-24 09:02 UTC, stwr

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-07-24 09:02:29 UTC
Created attachment 154841 [details]
Picture showing the current behavior

Product Version: NetBeans IDE 8.1 Beta (Build 201507231027)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\8.1beta
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\8.1beta

Use Case:

1. Create new class
2. In its constructor type 'new Comparable'
3. Call code completion and select first item

It would be nice if inserted body would end with ';' automatically.