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 插件


- Java包名称中单词分隔符的约定是什么? 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01