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
Created attachment 84306 [details] groovy.xml as of 28 Dec 2013
attached groovy.xml for your convenience
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
Maybe change TRUE to true ?
(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.
*** Bug 190856 has been marked as a duplicate of this bug. ***
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