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.
When editing Groovy files the Netbeans editor There are many shortcuts documented on the "Keyboard Shortcuts card", including the: "fcom" Command that expands into a "edit-fold" meta-instruction to the editor. This should insert the instruction shown in the example, below and then the code between the start and end of this mark-up can be folded in the editor. 1. "edit-fold" does Not work in the editor 2. the "fcom" macro is not caught by the editor. 3. This appears to work OK in Java files. Example: // ---- ---- ---- ---- --- ---- // Specification Set-up // ---- ---- ---- ---- --- ---- //<editor-fold defaultstate="collapsed" desc="specification set-up"> ------------------------------ Product Version = NetBeans IDE 8.1 (Build 201510222201) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 1.8.0_102 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14 Reproducibility: Happens every time STEPS: * Open a Groovy file in the editor * type: "fcom[TAB]" * The fcom will not work so you need to paste-in or type the example and the ending tag manually * Click on the "edit-fold" line --code should fold ACTUAL: nothing happens * fcom is ignored * "edit-fold" is ignored EXPECTED: 1. fcom should insert the "edit-fold" mark-up 2. "edit-fold" should fold and unfold when the mouse is clicke
Created attachment 162339 [details] IDE log