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 203087 - Provide separate options for auto-close brackets, quotes and others
Summary: Provide separate options for auto-close brackets, quotes and others
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal with 4 votes (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2011-10-04 18:26 UTC by ceklock
Modified: 2012-11-07 17:36 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description ceklock 2011-10-04 18:26:06 UTC
Currently there is only an option to enable or disable auto-parenthesis closing. Disabling this also disables all automatic bracket closing, quote closing and so on.

Please provide separate options for auto-close quotes, parenthesis, brackets and others.

Product Version = NetBeans IDE 7.1 Beta (Build 201109222201)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_27
Runtime = Java HotSpot(TM) Client VM 20.2-b06
Comment 1 ceklock 2011-10-04 19:33:41 UTC
The option is a checkbox at "Tools > Options > Editor > Insert Closing Brackets Automatically".

Please provide a checkbox for each type of bracket independently.
Comment 2 ceklock 2012-11-06 22:22:56 UTC
This issue is present in NetBeans 7.2.1. The option is at "Tools > Options > Editor > Code Completion > Insert Closing Brackets Automatically".

When the option is enabled all ", (, [, { are closed automatically. 

When the option is disabled all the characters above are not closed automatically.

Product Version: NetBeans IDE 7.2.1 (Build 201210100934)
Java: 1.7.0_09; Java HotSpot(TM) Server VM 23.5-b02
System: Windows 7 version 6.1 running on x86; Cp1252; en_BR (nb)