Skip to content

[Groovy -> Java/Groovy] refactor#4226

Draft
jrappen wants to merge 1 commit into
sublimehq:masterfrom
jrappen:fix-groovy-2
Draft

[Groovy -> Java/Groovy] refactor#4226
jrappen wants to merge 1 commit into
sublimehq:masterfrom
jrappen:fix-groovy-2

Conversation

@jrappen
Copy link
Copy Markdown
Collaborator

@jrappen jrappen commented Apr 22, 2025

Warning

This is a WIP (work in progress). Proposed changes here will probably generate CI errors for a while.

TODO:

DONE:

This PR proposes to:

  • move Groovy into Java package
  • Java
    • categorize operators to ease extending Java
    • move syntax variables to EOF
  • Groovy
    • add RegExp (Groovy).sublime-syntax
    • add build files for Ant and GroovyC
    • add single-quoted block strings with embedded bash highlighting
    • use merge-conflict-markers (see [Common] Add git conflict marker highlighting #4047) from Java to add them to
      additional types of strings in Groovy
    • mark imports of default imports as invalid.illegal

References:

@jrappen jrappen force-pushed the fix-groovy-2 branch 2 times, most recently from 86715a3 to 66192c4 Compare April 22, 2025 10:27
@jrappen jrappen added significant C: Syntax https://www.sublimetext.com/docs/syntax.html labels Apr 22, 2025
@jrappen jrappen changed the title [Groovy -> Java] refactor [Groovy -> Java/Groovy] refactor Apr 22, 2025
@jrappen jrappen force-pushed the fix-groovy-2 branch 3 times, most recently from 2ecc2cc to 213e1bc Compare April 27, 2025 21:36
@jrappen jrappen force-pushed the fix-groovy-2 branch 3 times, most recently from efdb183 to fd22bc9 Compare May 4, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: Syntax https://www.sublimetext.com/docs/syntax.html significant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Groovy Reindent issue

1 participant