如何获得Aptana的代码协助以使用Google Maps API v3? [英] How can I get Aptana's code assist to work with Google Maps API v3?

查看:176
本文介绍了如何获得Aptana的代码协助以使用Google Maps API v3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Maps API v3 Visual Studio Intellisense Helper ,这大概可以用于Visual Studio,但Aptana (基于Eclipse)使用不同的JavaScript文档格式 - ScriptDoc (.sdoc文件)。 ScriptDoc也是 VS实用工具的名称,用于将带有Intellisense注释的JS文件转换为XML,只是为了混淆视听。



我已经尝试在Aptana中添加Intellisense文件作为文件/全局引用,但所有这些都是单词 google

可能的解决方案:




  • 找到已经为Aptana完成此操作的人。
  • 将Visual Studio Intellisense Helper转换为Aptana可以理解的格式。

  • 刮掉 API页面并将其转换为Aptana格式可以理解。


解决方案

我发现了这一点,我正在检查它是否有帮助
http://code.google .com / p / closure-compiler / source / browse /#svn%2Ftrunk%2Fcontrib%2Fexterns%2Fmaps


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.

解决方案

I found this and I'm checking if it helps http://code.google.com/p/closure-compiler/source/browse/#svn%2Ftrunk%2Fcontrib%2Fexterns%2Fmaps

这篇关于如何获得Aptana的代码协助以使用Google Maps API v3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆