如何获得Aptana的代码协助以使用Google Maps API v3? [英] How can I get Aptana's code assist to work with 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 $
我发现了这一点,我正在检查它是否有帮助
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屋!