Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Groovy custom filetype #2188

Merged
merged 4 commits into from Aug 17, 2019

Conversation

@ntrel
Copy link
Member

commented Jun 13, 2019

Uses the C lexer and C++ tag parsing.

@ntrel ntrel referenced this pull request Jun 13, 2019
@esotericpig

This comment has been minimized.

Copy link

commented Jun 13, 2019

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

This comment has been minimized.

Copy link
Member Author

commented Jun 14, 2019

Thanks, I added your suggestions.

@ntrel ntrel changed the title [WIP] Add Groovy custom filetype Add Groovy custom filetype Jun 14, 2019
@ntrel ntrel force-pushed the ntrel:groovy-ft branch from fd7f52a to d31320d Aug 17, 2019
@ntrel ntrel merged commit d19f771 into geany:master Aug 17, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@ntrel ntrel deleted the ntrel:groovy-ft branch Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.