Bug 190856 - Missing syntax highlighting rules for Groovy
Summary: Missing syntax highlighting rules for Groovy
Status: RESOLVED DUPLICATE of bug 329320
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-27 19:58 UTC by Malte S. Stretz
Modified: 2015-04-28 09:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2009-04-27 19:58:24 UTC
Version:           3.2.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

Would be nice if there was highlighting for *.groovy files. See http://groovy.codehaus.org/

Asa starting point, there are some packages out there which support Groovy syntax already.
Comment 1 Erlend Hamberg 2009-04-28 21:00:40 UTC
hi, malte.
thanks for the suggestion and your interest in kate!

it's probably best if the syntax highlighter is written by a person who know the groovy language. if you want to have a look yourself, try following this guide:
http://kate-editor.org/article/writing_a_kate_highlighting_xml_file

if you get stuck, try writing to the kwrite-devel mailing list.
Comment 2 Malte S. Stretz 2009-04-29 10:01:28 UTC
Thanks for the link, I might have a shot when I've got some spare time.
Comment 3 Christoph Cullmann 2011-08-12 08:42:09 UTC
If you get time, submit patch, else closed here atm.
Comment 4 Malte S. Stretz 2011-08-12 08:46:30 UTC
Do you have an up-to-date howto on writing syntax highlighters?  The link from comment 1 is dead.
Comment 6 Malte S. Stretz 2011-08-14 14:41:43 UTC
Meh. I didn't work on any Groovy project for a while and just noticed that I don't know the syntax specialities good enought anymore :)

Geshi has support for Groovy, maybe it could be used as a starting point? I'm currently lacking the time unfortunately. http://geshi.svn.sourceforge.net/viewvc/geshi/trunk/geshi-1.0.X/src/geshi/groovy.php?revision=2430&view=markup
Comment 7 Martin Walch 2015-04-28 09:03:32 UTC
This wish is older than bug #329320, but that one already references a mostly working highlighting file, while this one does not. Therefore closing this as DUP and not vice versa.

*** This bug has been marked as a duplicate of bug 329320 ***