Tuesday, May 30, 2006

Javascript plugin for Eclipse

I waas looking for a Javascript editor and came across JSEclipse plugin from Interakt. Its a beautiful plugin and even has a all-features-enabled free version :).

The best things I like about JSEclipse are:
  • Code completion for JavaScript function and classes.
  • Code completion for JavaDoc.
  • Function and class names are displayed in the Outline panel for the currently open file.
  • Open declaration i.e. the famous F3 functionality
  • Error reporting
  • Warning reporting
  • Code wrap
  • Support for major JavaScript libraries
  • Code completion uses Rhino for better accuracy
  • Use of JSDoc and inline parameter comments to detect parameter type
  • Suggest parameters to be filled
  • Project dependent code completion
  • Reads all classes in current project
  • Reads classes in currently opened files
  • Scan current file for words
  • Reads XML files for class definitions
  • Add your own XML with class definitions
However, it works on Eclipse 3.1.x versions only. I have multiple Eclipse installations. It didnt work on Eclipse 3.0 ("Editor could not be initialized."). However with Eclipse 3.1.2, it was a breeze to work with it. Either create an Eclipse project, or add JS files to your existing project, and you are ready to go!

It appears to work based on usage - it remembers how an object is used and completes based on that.

Have u guys (and gals) used any other editor for Javascript? Do share your experiences here.

Wednesday, May 17, 2006

Google Web Toolkit for building AJAX apps in Java

Google has introduced a toolkit for building AJAX applications in Java, though its in beta. It has also supplied some sample applications with the kit.

Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language. Writing dynamic web applications today is a tedious and error-prone process; you spend 90% of your time working around subtle incompatabilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.

GWT lets you avoid many of these headaches while offering your users the same dynamic, standards-compliant experience. You write your front end in the Java programming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML.

I plan to explore GWT for the next couple of days and then would be writing on that. Would appreciate your experience on GWT.

Saturday, May 6, 2006

Stop Whining...Dilbert style :)

STOP WHINING...

A

Popular Posts (Last 30 days)

This is a personal blog and I do not speak for my employer.