Uses the C lexer and C++ tag parsing. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2188
-- Commit Summary --
* Add Groovy custom filetype * Don't highlight lines with unterminated string literal; C++ tags * filetype registration
-- File Changes --
M data/Makefile.am (1) A data/filedefs/filetypes.Groovy.conf (34) M data/filetype_extensions.conf (3)
-- Patch Links --
https://github.com/geany/geany/pull/2188.patch https://github.com/geany/geany/pull/2188.diff
Looks good and works fine. Thanks.
My suggestion for build-menu:
``` FT_00_LB=_Compile FT_00_CM=groovyc "%f" FT_00_WD=
EX_00_LB=Execute _Script EX_00_CM=groovy "%f" EX_00_WD= ```
To execute a non-script made by using groovyc, you'd need to also add the groovy jar to the classpath, but too difficult, so no reason for it.
Also, I think it'd be great to add Gradle files:
``` Groovy=*.groovy;*.gradle; ```
@ntrel pushed 1 commit.
fd7f52aa57067a68c99929e61596f5c0324b09e3 Add *.gradle and build menu commands
Thanks, I added your suggestions.
Merged #2188 into master.
github-comments@lists.geany.org