如何在Aptana Studio 3中启用jQuery支持 [英] How to enable jQuery support in Aptana Studio 3
问题描述
如何在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捆绑包(如果尚未安装)可以通过命令菜单(命令->捆绑包开发->安装捆绑包,然后从列表中选择jQuery)从Aptana安装.
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的最新Beta版中).
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屋!