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.
Product Version: NetBeans IDE Dev (Build 200804010004) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Plugin: CB#312 (2008-04-07_14-26-18.zip) { completion is not adding the closing } at first. If I keep playing with it for a bit it will start working. Steps: 1. create new project 2. go to end of file and press enter 3. press { and enter It goes to a new line and indents 4 spaces. It does not add the trailing }. Usually when it starts working its after I have made modifications to an if/then statement but even that is inconsistent. Once it starts working, it stays for that file but when I create a new project it stops working again and I have to start over.
Rasta?
*** Issue 132202 has been marked as a duplicate of this issue. ***
I performed several updates to fix this issue. I took behavior of Java bracket completion as spec. If you are not satisfied please reopen this issue.
*** Issue 132497 has been marked as a duplicate of this issue. ***
I just installed build: Plugin: CB#358 (2008-04-11_11-55-20.zip) and I still see this. Here's what I did 1. Uninstalled old plugin (restart) 2. installed new plugin (restart) 3. create new fx project (Main.fx opened automatically) 4. go to end of file and select //Place code here 5. type { and press return I do not get the closing }. I tried with Frame { and it still doesn't give me the closing bracket. I'm running on: Product Version: NetBeans IDE Dev (Build 200804091204) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
The '}' completion does not work if I do not use import statement: ----------------------------------- Frame{ ----------------------------------- And it works if I use import statement: ----------------------------------- import javafx.ui.*; Frame{} -----------------------------------
I have not seen this issue in a while. It is not reproducible with or without import statements. Closing. Verified using: Product Version: NetBeans IDE 6.1 (Build 200804211638) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) fx NB61 cb plugin: 260
verified