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.

Bug 132849

Summary: [cc] Support for categories transformation
Product: groovy Reporter: ladermann <ladermann>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://groovy.codehaus.org/Category+and+Mixin+transformations
Issue Type: ENHANCEMENT Exception Reporter:

Description ladermann 2008-04-15 09:42:43 UTC
When classes are enhanced by categories, the additional methods aren't recognized by the code completion 
infrastructure. NB 6.1rc1, Groovy&Grails 1.1
Comment 1 schmidtm 2008-09-19 13:14:30 UTC
Hi,

I'm not quite sure whether i fully understand this issue. What do you mean by enhance a class by category? And how did you get the stuff working with NB 
6.1rc1?


Comment 2 ladermann 2008-09-19 14:01:52 UTC
Sorry, if my report was somewhat unclear, but the completion feature I'm asking for is for Groovy-Categories 
(http://groovy.codehaus.org/Groovy+Categories). Currently I'm working with the daily-builds and Groovy&Grails 1.7
Comment 3 schmidtm 2008-09-26 11:47:01 UTC
Hi,

thanks a lot for bringing this up. I have to confess, that I wasn't aware of that at all. Great feature.

The definition could be found here:

- GINA 7.5.3 Mix-in categories with the use keyword
- JavaDoc for Groovy: org.codehaus.groovy.runtime.GroovyCategorySupport

Alas, completion for this (very useful) feature is beyond the scope of or 1.0 release. Therefore I turn it into a feature and assign it to me.