
+1
Fixes to java syntax
The following additions to the Java.tmLanguage file would be very wonderful.
Add to `repository -> parameters -> patterns`:
<dict>
<key>include</key>
<string>#annotations</string>
</dict>
Add to `repository -> parameters -> enums -> patterns`:
<dict>
<key>include</key>
<string>#comments</string>
</dict>
Customer support service by UserEcho
Does anybody read these...?
One more addition is necessary:
Change `repository -> methods -> begin` to the following regex:
<string>(?!new)^\s*(?=\w.*\s+)(?=[^=]+\()</string>
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)+");