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.
This Groovy editor feature should enable a similar feature as found in the Java-Editor. The user can (context-aware) insert constructore, getters, setters and the like into the Groovy code.
Closing this issue because at the moment I can't imagine real use case. Groovy don't need to generate constructors/getters/setters. They are all added by groovy itself..
(In reply to Martin Janicek from comment #1) > Closing this issue because at the moment I can't imagine real use case. > Groovy don't need to generate constructors/getters/setters. They are all > added by groovy itself.. I am dying for this feature! Currently, I need to use Java 'scratch' files to use these features, and then copy and paste the results into my respective Groovy files. Use cases include but are not limited to: 1. Contructors/Getters/Setters: Yes, it's true Groovy generates them, but the ones Groovy generates aren't always desirable. I like to use groovy to develop immutable and/or functional data structures; While I like what it offers when writing program logic, I don't like what it offers with regards to scaffolding. In other words, not all design patterns are facilitated (and some are in fact hampered) by groovy's scaffolding. I'd much rather have NetBeans generate method signatures (ie. replace the bodies) for me than me having to write them out myself. 2. Delegate Method, Override Method: desperately desired! I use these extensively when decorating objects and implementing adapters/facades 3. Add Property: Another situation where I keep the method signatures and replace their bodies with new code.