views:

298

answers:

1

There's a Google Maps API v3 Visual Studio Intellisense Helper, which presumably works great for Visual Studio, but Aptana (based on Eclipse) uses a different JavaScript documentation format - ScriptDoc (.sdoc files). ScriptDoc is also the name of a VS utility to convert JS files with Intellisense comments into XML, just to confuse things.

I've tried adding the Intellisense files as file / global references in Aptana, but all this gives is completion for the word google and no completion or documentation in the google namespace.

Possible solutions:

  • Find someone who's already done this for Aptana. I've Google'd quite a bit already but couldn't find anything.
  • Convert the Visual Studio Intellisense Helper into a format Aptana can understand.
  • Scrape the API page and convert it into a format Aptana can understand.
A: 

Can't you put the JS file in the Project's references ?

Squ36
I've tried http://maps.gstatic.com/intl/en_gb/mapfiles/api-3/1/6/main.js (and a few others) but it's not coming back with anything. Even if this worked for code completion (which would be nice), it won't have any of the docs.
dave1010