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 - curly brackets in function definition.
Summary: curly brackets in function definition.
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 01:07 UTC by pepebeans
Modified: 2013-08-28 01:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.