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

查看:15
本文介绍了如何获得 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,只是为了混淆视听.

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.

我已经尝试将 Intellisense 文件添加为 Aptana 中的文件/全局引用,但这只是对 google 一词进行补全,而在 google 命名空间中没有补全或文档.

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.

可能的解决方案:

  • 找一个已经为 Aptana 做过这件事的人.我已经用 Google 搜索了很多,但找不到任何东西.
  • 将 Visual Studio Intellisense Helper 转换为 Aptana 可以理解的格式.
  • 抓取 API 页面并将其转换为格式Aptana 可以理解.
  • 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.

推荐答案

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

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天全站免登陆