Rosetta Code:Village Pump/Syntax highlighting: Difference between revisions

(→‎Relationship Between Rosetta Code and GeSHi: Link to explanation of language files from GeSHi)
(→‎Java5 Highlighting: More problems)
Line 49:
<lang java5>LinkedList <T></lang>
I think a lot of people leave the space out so the highlighting should put a link in with or without the space. --[[User:Mwn3d|Mwn3d]] 12:35, 29 July 2009 (UTC)
 
The java5 (and java) highlighting doesn't highlight javadoc comments as multi-line comments:
<lang java5>/**
* this is a comment
*/</lang>
It also doesn't highlight "import static" lines properly (this should only be in java5:
<lang java5>import static SomeClass.someMethod;</lang>
"import" and "static" should both be blue and bold and "SomeClass.someMethod" should be gray, bold, and italic. --[[User:Mwn3d|Mwn3d]] 13:34, 23 September 2009 (UTC)
 
=Language tags=
 
Anonymous user