views:

11

answers:

1

Hello, I'd like to have an "autocomplete" functionality in Eclipse for Google Maps JavaScript API. For example:

I write:

map = new google.maps.

and then I'd like Eclipse to offer appropriate methods - like this:

Map
Marker
Polyline
Polygon
...

etc. see http://code.google.com/intl/cs-CZ/apis/maps/documentation/javascript/reference.html

Is that possible? If it is, how?

A: 

The best autocomplete I've seen for Eclipse is by installing the Aptana plugin from http://www.aptana.com/. I haven't actually done this, but if you downloaded the Maps JS file and added it to your project, that should be enough to get autocompletion for at least the class and function names.

Anthony Mills