[英]How can I get Aptana's code assist to work with Google Maps API v3?
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). 有一个Google Maps API v3 Visual Studio Intellisense Helper ,它可能适用于Visual Studio,但Aptana(基于Eclipse)使用不同的JavaScript文档格式 - ScriptDoc (.sdoc文件)。 ScriptDoc is also the name of a VS utility to convert JS files with Intellisense comments into XML, just to confuse things.
ScriptDoc也是VS实用程序的名称,用于将带有Intellisense注释的JS文件转换为XML,只是为了混淆事物。
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中添加Intellisense文件作为文件/全局引用,但所有这些都是
google
完成,谷歌命名空间中没有完成或文档。
Possible solutions: 可能的解决方案:
你不能把JS文件放在Project的引用中吗?
I'm using Aptana and ScriptDoc is the worst decision they made and they seem to be attached to it, it's the main reason I have considered switching to Eclipse. 我正在使用Aptana和ScriptDoc是他们做出的最糟糕的决定,他们似乎与之相关,这是我考虑转向Eclipse的主要原因。 I've been thinking in using jsdoc-toolkit to generate .sdoc files from jsdoc notations (using some type of templates), but to use .sdoc files you must insert @id tags all over your code, and that discouraged me.
我一直在考虑使用jsdoc-toolkit从jsdoc表示法生成.sdoc文件(使用某种类型的模板),但要使用.sdoc文件,你必须在代码中插入@id标签,这使我气馁。
This helper is for Visual Studio. 这个助手适用于Visual Studio。 I don't think Aptana can work with vsdoc.js files
我不认为Aptana可以使用vsdoc.js文件
Aptana Plugin for Eclipse and jQuery code assist 适用于Eclipse的Aptana插件和jQuery代码辅助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.