Fixes to java syntax

Matt Hauck 6 years ago updated 6 years ago 1

The following additions to the Java.tmLanguage file would be very wonderful. 

Add to `repository -> parameters -> patterns`:





Add to `repository -> parameters -> enums -> patterns`:





Does anybody read these...?

One more addition is necessary:

Change `repository -> methods -> begin` to the following regex:


The addition of "^\s*" makes sure that statements like the following are not highlighted as method definitions.

private static final Pattern FOO = Pattern.compile("(FOO)+");