WLW Source Code Plugin

pen

Windows Live Writer Source Plugin.. yeah.. that’s one of my favorite plugin.. with this plugin I can copy and paste my sample code to this blog nice and easily :P.

I got this plugin from here ! Below is the java sample code that I was generated with this plugin.

  1:  List<TrainSchedule> lTrainSchedule = trainScheduleController.findTrainScheduleEntities("Pocin4");
  2:         for (TrainSchedule tsTest : lTrainSchedule){
  3:             System.out.println("Station Name: " + tsTest.getStrStation() );
  4:             System.out.println("Train Name: " + tsTest.getStrTrainName() );
  5:             System.out.println("Train Type: " + tsTest.getStrTrainType());
  6:             System.out.println("Time : " + tsTest.getDtSchedule().toString());
  7:             System.out.println("");
  8:         }
  9:         System.out.println("Jumlah : " + Integer.toString(lTrainSchedule.size()));

As you can see, there’s a lot of functional options to formating our sample code like :
  • Language : ASPX, C, C#, C++, COBOL, Cold Fusion, CSS, Eiffel, Fortran, Haskell, Java, JavaScript, JScript, Mercury, MSIL, Pascal, Perl, PHP, Python, Ruby, SQL, Visual Basic, Visual Basic Script, XML
  • Box
  • Alternate Line Colors, and
  • Selection Code

image

0 comments:

Post a Comment