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: | Closing braces not being automatically inserted in Java | ||
---|---|---|---|
Product: | ide | Reporter: | theosib |
Component: | UI | Assignee: | issues@ide <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
theosib
2016-09-18 01:35:30 UTC
Actually, I'm finding that this feature works correctly for some files and not for others. I cannot tell what is different about the different files. Actually, there are some cases when it will auto-complete the braces. For instance, if I start typing a try/catch block, it'll auto-insert the braces for the try but not the catch. I had a stray { in the last function in the file. The problem cleared up when I deleted the brace. I think that if there's a stray brace AFTER where I'm inserting code, that should not break brace auto-insertion. |