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

feat: Support basic groovy syntax highlighting #960

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

CsCherrYY
Copy link
Collaborator

@CsCherrYY CsCherrYY commented Aug 30, 2021

This PR is to support basic groovy syntax highlighting. Related issue #956

The grammar file is converted from https://github.com/textmate/groovy.tmbundle/blob/master/Syntaxes/Groovy.tmLanguage to the json format, including

  • information_for_contributors: indicates the original info
  • version: the permalink of the original file
  • fileTypes: adds gradle

With this grammar file, we can support basic groovy syntax highlighting in gradle files. See the screenshot:
highlighting

Other symbols will be supported in semantic highlighting part.

@CsCherrYY CsCherrYY mentioned this pull request Aug 30, 2021
7 tasks
@CsCherrYY CsCherrYY added this to the 3.8.0 milestone Aug 30, 2021
@CsCherrYY CsCherrYY added the enhancement New feature or request label Aug 30, 2021
@CsCherrYY CsCherrYY merged commit 126c281 into cs-authoring-branch Sep 1, 2021
@CsCherrYY CsCherrYY deleted the cs-basic-highlighting branch September 1, 2021 01:51
CsCherrYY added a commit that referenced this pull request Sep 26, 2021
* feat: Initialize Language Server (#959)

* feat: Support compiling and pushing diagnostics (#962)

* feat: Support basic groovy syntax highlighting (#960)

* feat: Support semantic highlighting (#967)

* feat: Support document outline (#969)

* feat: Support auto completion in dependencies closure (#970)

* feat: Support Basic Auto Completion (#971)

* fix: Add null check for visitors (#974)

* feat: Show symbol detail for method calls (#973)

* chore: Prepare for 3.8.0 (#978)

* fix: Use padding to correct version order (#986)

* fix: Dependency completion doesn't work when multiple dependencies closures exist (#984)

* fix: Correct version completion kind (#985)

* fix: Handle multiple content changes (#992)

* feat: Support completion for settings.gradle (#988)

* fix: Offer completion results from supertypes (#987)

* feat: Provide dependencies content in outline (#998)

* feat: Support basic java plugin aware (#989)

* feat: Support basic tasks and dependencies (#1002)

* chore: Add thirdpartynotice

* chore: Fix ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants