Aptana Plugin for Eclipse and jQuery code assist(Eclipse 和 jQuery 代码辅助的 Aptana 插件)
问题描述
我想在 Eclipse 中为 jQuery 使用自动完成功能.Aptana 插件已安装:
I want to use autocomplete for jQuery in Eclipse. The Aptana Plugin is installed:
Aptana Web Development Tools
Version: 1.5.1.25495-787Y07jbcbrChz-Tq2k383275
也支持 jQuery:
Support for jQuery also:
Aptana Support for jQuery
Version: 1.3.2.00005
JavaScript/WTP 已安装:
JavaScript/WTP is installed:
JavaScript Developer Tools
Version: 1.1.1.v200906091427-77-FGBCcNBC-BeMcEeOm
Build id: 20090616035105
但自动完成功能不起作用.有谁知道问题出在哪里?
But the autocomplete doesn't work. Does anyone have an idea of where the problem could be?
推荐答案
开启 JavaScript 代码辅助功能
当您安装额外的 AJAX 库支持时,该库的代码辅助默认不会打开.
Turn on JavaScript Code Assist Feature
When you install additional AJAX library support the Code Assist for that library isn't turned on by default.
在安装其他 AJAX 库后打开 Code Assist 功能:
To turn on the Code Assist feature after you install additional AJAX Libraries:
Preferences > Aptana > Editors > JavaScript > Code Assist > Check jQuery
如果您刚刚安装了 Aptana 插件并试图让它工作,则必须确保您使用 Aptana Perspective 来利用 AJAX 库代码辅助功能:
If you just installed the Aptana plugin and are trying to get this to work you'll have to make sure you're using the Aptana Perspective to utilize the AJAX library Code Assist feature:
Window > Open Perspective > Other... > Aptana
将 Eclipse PDT 与 Aptana 插件结合使用
我在 Eclipse PDT 中安装了 Aptana 插件,当我意识到我仍在使用 PDT PHP Perspective 而不是 Aptana Perspective 时,jQuery Code Assist 运行良好.
Using Eclipse PDT with Aptana Plugin
I installed the Aptana plugin to Eclipse PDT and the jQuery Code Assist worked fine once I realized that I was still using the PDT PHP Perspective instead of the Aptana Perspective.
当我切换到 Aptana Perspective 时,它开始工作了.
When I switched to the Aptana Perspective it started working.
Sirokov 指出,除非他先安装 Aptana 插件,然后再安装 PDT,否则他无法让 Code Assist 与 PDT 和 Aptana 插件一起使用.
Sirokov pointed out that he was unable to get the Code Assist to work with PDT and Aptana Plugin unless he installed the Aptana Plugin first and then installed PDT second.
这篇关于Eclipse 和 jQuery 代码辅助的 Aptana 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse 和 jQuery 代码辅助的 Aptana 插件
基础教程推荐
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01
- 降序排序:Java Map 2022-01-01