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 123154

Summary: syntax highlighting (grammar/model based)
Product: groovy Reporter: schmidtm <schmidtm>
Component: EditorAssignee: schmidtm <schmidtm>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://wiki.netbeans.org/wiki/view/Groovygrails
Issue Type: TASK Exception Reporter:

Description schmidtm 2007-11-30 16:38:18 UTC
Advanced Syntax-Highlighting for Groovy Sources using full grammar incl. model.
Comment 1 schmidtm 2008-01-23 17:02:41 UTC
Syntax Highlighting will be enabled by annotating all AST-nodes using this method:

org.netbeans.modules.groovy.editor.parser.GroovySemanticAnalyzer.annotate()

At this moment these issues are unfinished compared to Java sourcecode:

1.) Field usage is not highlighted. The declarations are.
2.) Class definitions are not highlighted.
3.) The Class-constructors are not highlighted.
4.) Static classes are not highlighted.
Comment 3 schmidtm 2008-02-05 10:42:22 UTC
A little bit more logging, docs and more tests

http://hg.netbeans.org/main/contrib/rev/9138912a1f8b
Comment 4 schmidtm 2008-02-05 19:26:32 UTC
Now we can detect Constructors in Groovy classes.
http://hg.netbeans.org/main/contrib/rev/f8366c4fd2e9
Comment 5 schmidtm 2008-02-06 15:45:29 UTC
Groovy classes are now recognized
http://hg.netbeans.org/main/contrib/rev/88ee17d26a25
Comment 6 martin_adamek 2008-03-06 08:26:36 UTC
Done.
Comment 7 Lukas Jungmann 2008-10-13 13:37:53 UTC
v.