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 - syntax highlighting (grammar/model based)
Summary: syntax highlighting (grammar/model based)
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: schmidtm
URL: http://wiki.netbeans.org/wiki/view/Gr...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 16:38 UTC by schmidtm
Modified: 2008-10-30 14:25 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.