jEdit Community - Resources for users of the jEdit Text Editor
Java highlighting update for Java 5 (generics)
Submitted by moreblue on Wednesday, 3 June, 2009 - 14:26
Hi, I'm programming in Java and I really love the highlighting of Java. However, in Java 5 a new feature has been added to the language: generics. For those who don't know (from http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html): Generics provides a way for you to communicate the type of a collection to the compiler, so that it can be checked. Once the compiler knows the element type of the collection, the compiler can check that you have used the collection consistently and can insert the correct casts on values being taken out of the collection. This is placed between '<' and '>'. It would be nice if the generics would be highlighted. As I'm not an expert, I did not succeed in correctly editting the current highlight specification of Java in jEdit; if I do, expression with a '<' inside will start hightling the remaining part.
User login
Browse archives
« May 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   108254
Context Free Art (*.cfdg)   0.31   46074
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17491
Advanced HTML edit mode   1.0   16226
Matlab Edit Mode   1.0   16088
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312