java.tmbundle icon indicating copy to clipboard operation
java.tmbundle copied to clipboard

TextMate support for Java

Results 25 java.tmbundle issues
Sort by recently updated
recently updated
newest added

Consider the following: ```Java public static void consume(String consumed) { consumed.concat("a"); } ``` It is expected that void is highlighted as it is a reserved Java keyword, much like `static`...

As of Java 16 Java supports a new class type known as records. This means a new keyword called "record". Adding this into the Java syntax. for compatibility. This should...

Java class names which start with two capital letters inside an import statement are colored as constants: ```java import java.io.File; // File is colored normally import java.io.IOException; // IOException is...

`var` still doesn't seem to be highlighted. This ought to fix it.

record isn't highlighted as a keyword much like class would be: ```java public class ClassTest { public record RecordTest(String text) { } } ```

As can be seen on GitHub, for example here: https://github.com/junit-team/junit4/blob/r4.12/src/main/java/org/junit/runners/Parameterized.java#L192 After `String name() default "{index}";`, nearly everything is highlighted as being a string, which is false. The code in question...

Fixes #61 (Has examples of the issue). Adding the java 13 `yield` keyword. Details of the keyword: https://docs.oracle.com/en/java/javase/13/language/switch-expressions.html As it's a `break` statement that does `return` a value in a...

yield does not seem to be highlighted as a keyword (example github): ```java String test = switch (eventType) { case CREATE -> Test1; case UPDATE -> { somethingElse = doSomething(input);...

`$` is a legal character in Java identifiers, however using it tends to cause nearby regions to get highlighted incorrectly. On Github.com: ```java interface Test { void aaaaa(); void bbbbb();...

from what i understand, [github uses code from this repo to do syntax highlighting](https://github.com/github/linguist/blob/master/vendor/README.md). if i write this: ```java var json = """ { "version": "https://jsonfeed.org/version/1.1" } """; var jsonFeedFromJsonString...