如何在 Aptana Studio 3 中启用 jQuery 支持 [英] How to enable jQuery support in Aptana Studio 3

查看:31
本文介绍了如何在 Aptana Studio 3 中启用 jQuery 支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Aptana Studio 3(测试版)中启用 jQuery?
我没有看到此版本的任何文档.
Aptana Studio 3(测试版)是否支持 jQuery?

How Can I Enable jQuery In Aptana Studio 3 (beta) ?
I didn't see any document for this version.
Does Aptana Studio 3 (beta) Supporting jQuery?

推荐答案

在 Studio 3 中,大部分此类功能仍在出现,因为 Aptana 正在为他们的大量功能走更多的 TextMate 捆绑路线,我认为真的很酷.

In Studio 3 much of this sort of functionality is still coming as Aptana is going more of a TextMate bundle route for a great deal of their features, which I think is really cool.

也就是说,已经有一个 jQuery 包.jQuery 包,如果您还没有安装,可以通过命令菜单从 Aptana 安装(命令->包开发->安装包,然后从列表中选择 jQuery).

That said, there is already a jQuery bundle. The jQuery bundle, if you don't have it installed yet, can be installed from Aptana via the Commands menu (Commands->Bundle Development->Install Bundle and then select jQuery from the list).

此支持讨论包含有关 Aptana 中的 jQuery 代码辅助的一些详细信息:https://aptanastudio.tenderapp.com/discussions/problems/2006-studio-3-jquery-support-is-lacking

This support discussion has some details about jQuery code assist in Aptana: https://aptanastudio.tenderapp.com/discussions/problems/2006-studio-3-jquery-support-is-lacking

特别提到添加 jquery vs doc 文件(http://code.jquery.com/jquery-1.4.1-vsdoc.js) 到您的项目.这似乎是关键.

In particular, it mentions adding a jquery vs doc file (http://code.jquery.com/jquery-1.4.1-vsdoc.js) to your project. This seems to be the key.

如果您安装了 jQuery 包并添加了上述 JS 文件,您可以在您的 Aptana 编辑器中获得 jQuery 代码提示.我刚刚在我的一个 Rails 项目中运行了这个,它确实有效(我正在使用 Studio 3 for Mac 的最新测试版).

If you install the jQuery bundle and add the aforementioned JS file, you can get jQuery code hints in your Aptana editor(s). I just ran through this in one of my Rails projects and it does work (I'm on the latest beta of Studio 3 for Mac).

这篇关于如何在 Aptana Studio 3 中启用 jQuery 支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆