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 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) Plugin: CB#385 (2008-04-14_13-59-24.zip) 1. go to editor and type: fi 2. press the tab key and you get: finally { } <cursor> Expected the <cursor> to be between the { }
I think this issues belongs to you. Indentation issues will be fixed with finishing issue #130588
OK The <codetemplate abbreviation="fi"> element will be changed in the javafx.editor\src\org\netbeans\modules\javafx\dataloader\DefaultAbbrevs.xml to provide described behavior of the template. Additionally, the template will be converted to the selection template, i.e. the "Surround with..." action will be applicable for it. The action is accessible via the lamp icon on the left side bar of the editor after selection of a code block in the editor.
Fixed. By default we will see the following inserted text: finally { <cursor> } Note, redundant empty line after "finally {" due to formatting Issue 132787 Finally (after fixing formatting issue) we will see: finally { <cursor> }
Verified using: Product Version: NetBeans IDE 6.1 RC2 (Build 200804170002) 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 74 2008-04-17_15-05-42.zip