Bug 329320 - Incorporate Groovy syntax file in Kate
Summary: Incorporate Groovy syntax file in Kate
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: 3.11.3
Platform: Mint (Ubuntu based) Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL: http://vortex7.wordpress.com/2009/02/...
Keywords:
: 190856 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-28 14:31 UTC by Hendy Irawan
Modified: 2015-08-01 17:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
groovy.xml as of 28 Dec 2013 (135.09 KB, patch)
2013-12-28 14:32 UTC, Hendy Irawan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendy Irawan 2013-12-28 14:31:35 UTC
Kate syntax file for Groovy is already available at: http://groovy.codehaus.org/Other+Plugins

See also http://vortex7.wordpress.com/2009/02/09/editing-groovy-with-the-%CE%BAate-editor/

Please integrate this into Kate proper so we don't have to install manually. 

Thank you :)

Reproducible: Always

Steps to Reproduce:
open groovy file
Actual Results:  
no syntax highlight

Expected Results:  
proper syntax highlight
Comment 1 Hendy Irawan 2013-12-28 14:32:46 UTC
Created attachment 84306 [details]
groovy.xml as of 28 Dec 2013
Comment 2 Hendy Irawan 2013-12-28 14:33:21 UTC
attached groovy.xml for your convenience
Comment 3 Martin Walch 2015-03-31 21:39:57 UTC
Is this file still maintained somewhere?

The attached version fails to validate for KF5:

> groovy.xml:3778: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3779: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3780: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3781: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3782: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3783: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3784: element StringDetect: Schemas validity error : Element  'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml:3785: element StringDetect: Schemas validity error : Element 'StringDetect', attribute 'insensitive': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
> groovy.xml fails to validate
Comment 4 Hendy Irawan 2015-04-01 00:06:43 UTC
Maybe change TRUE to true ?
Comment 5 Martin Walch 2015-04-01 12:30:14 UTC
(In reply to Hendy Irawan from comment #4)
> Maybe change TRUE to true ?

Probably yes. But I do not know the Groovy programming language, so testing is hard for me. Also: is the file still up-to-date (i.e. has the language changed since then)? If I get this right, the highlighting file has not been altered since 2008:

> http://docs.codehaus.org/download/attachments/2747/groovy.xml

Would be nice to have a Groovy programmer taking a closer look.
Comment 6 Martin Walch 2015-04-28 09:03:32 UTC
*** Bug 190856 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Cullmann 2015-08-01 17:02:55 UTC
Git commit 35d1bd8b71e0c19ba7b6db10a2e9c6d70cbe1454 by Christoph Cullmann.
Committed on 01/08/2015 at 17:02.
Pushed by cullmann into branch 'master'.

add Groovy HL
otherwise that will just disappear to nothing ;=)
lets see if somebody steps up to improve it
at least I fixed the valiation

A  +3884 -0    src/syntax/data/groovy.xml

http://commits.kde.org/ktexteditor/35d1bd8b71e0c19ba7b6db10a2e9c6d70cbe1454