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.
Product Version = NetBeans IDE Dev (Build 201701240001) Operating System = Linux version 4.4.0-31-lowlatency running on amd64 Java; VM; Vendor = 1.8.0_101 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13 Reproducibility: Happens every time STEPS: * write a new function void a() { if (1) { a() } // b // } * Click on squared minus "[-]" to close the if's brackets * Click on squared minus "[-]" to close the comment * Click on squared minus "[+]" to opent the comment ACTUAL: We can not reopen the if's brackets. Workaround: to move in a new line the comment "// b"
Hi, It's a tricky situation when there is a collapsed and expanded block are on the same line. In that case there is only [-] button on glyph, that's correct. To open the collapsed comment just double click it in editor.