Skip to content

Conversation

@chbk
Copy link
Contributor

@chbk chbk commented Jun 9, 2025

This PR makes Java highlighting more consistent with other languages.

Release Notes:

  • Improved Java highlighting
Java 6.0.3 With this PR
@interface Annotation {
  String value() default "value";
}
interface Interface {
  public String message();
}
class Test implements Interface {
  @Annotation(value="test")
  public String message() {
    String string;
    String nothing = null;
    String formatted = STR."string: \{nothing}";
    return formatted;
  }
}
class Main {
  public static void main(String[] args) {
    Test test = new Test();
    System.out.println(test.message());
  }
}

@cla-bot cla-bot bot added the cla-signed label Jun 9, 2025
@chbk chbk requested a review from valentinegb June 20, 2025 10:38
@valentinegb valentinegb merged commit b65fe9a into zed-extensions:main Jun 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants