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

void keyword as a method return value is not highlighted as a keyword

Open RMSD opened this issue 2 years ago • 0 comments

Consider the following:

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 preceding it.

RMSD avatar Jul 13 '23 00:07 RMSD