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 235124

Summary: curly brackets in function definition.
Product: javascript Reporter: pepebeans
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 8   
Issue Type: ENHANCEMENT Exception Reporter:

Description pepebeans 2013-08-28 01:07:06 UTC
Hi,

It´s just a suggestion to add a second curly bracket when you press the "{" key when working inside a .js file. The typical case of defining a function:

function f1() {}

Press only once and get the two brackets at the same time. It would be a nice feature to have and I don´t see any downside.

I mean, the same behaviour that NetBeans already has, when you are working within a .css file and you press the "{" key, you get both brackets {} at the same time.

Thanks in advance for reading my suggestion.