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.
Summary: | 7.1.1, editor, java, Enter in empty method creates redundant closing curly bracket | ||
---|---|---|---|
Product: | editor | Reporter: | ptomasek |
Component: | Formatting & Indentation | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.1.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ptomasek
2012-04-02 16:01:22 UTC
The Bracket Completion is one of the features of the NetBeans Java editor, which from an incorrect Java code creates the syntactically correct one (see your test case). However, if you don't like this feature, you can turn it off via 'Tools -> Options -> Editor -> Code Completion -> Insert Closing Brackets Automatically'. Closing as WORKSFORME. Oh, I see. The indentation confused me. |