IG Syntax Hiliter

Today I talked to arjan about the wordpress setup used for the company blog. I welcome the addition of the blog for sharing knowlegde with the community. One thing I noticed was the well looking syntax...

Arjan told me this was done by using the IG Syntax Hiliter using some custom modifications by Erik.

I installed the lot, so you can join me in cursing the examples which I'm studying for my programmers exam:

JAVA:
  1. public class Eggs{
  2.   int doX(Long x, Long y) { return 1; }
  3.   int doX(long ... x) { return 2; }
  4.   int doX(Integer x, Integer y) { return 3; }
  5.   int doX(Number x, Number y) { return 4; }
  6.   int doX(short ... x) { return 5; }
  7.  
  8.   public static void main(String ... args){
  9.     new Eggs().go();
  10.   }
  11.  
  12.   void go(){
  13.     short s = 7;
  14.     System.out.print(doX(s,s) + " ");
  15.     System.out.println(doX(7,7));
  16.   }
  17. }

Brrr... I just hate this type of code... but hey, need to pass the upcoming exam!


0 Responses to “IG Syntax Hiliter”

  1. No Comments

Leave a Reply





About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


Moscone Center - JavaOne nearby hotel golden_gate_warning_sign Charles Nutter & Guillaume Laforge Java + You on a cab Tim Bray introducing the (J)Ruby panel javaone 2008 goodybag Stage being build in the nearby park sea_lion Cable Car line Joshua Bloch at JavaOne2008 Scribbled Sun Logo Golden Gate Hotel room Acme Anvile at CommunityOne Keynote pub alcatraz Greenland Community One Keynote Stretched Limo
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.