How to enable jQuery Intellisense in Aptana?

♀尐吖头ヾ 提交于 2019-12-07 22:21:22

问题


I have Aptana and i installed Aptana Support for jQuery plugin.

Now i oped a javascript file, but can't see any jQuery Intellisense,

How to enable that?


回答1:


I find the easiest way is to create a project in Aptana - you can choose which libraries to include in your project. Then pull the .js file into your project. It should give you jQuery intellisense then.




回答2:


An additional way to achieve this (if all else fails I guess) is to download the file from https://raw.github.com/aptana/javascript-jquery.ruble/master/support/jquery.1.4.2.sdocml and drop it into the root of your project folder. This should give you intellisense in Aptana 3 (at least) where I tested it.




回答3:


Check this:

Commands > Bundle Development > Install Bundle then select jQuery. Now jQuery appear in the Commands menu, ans you can use jQuery Snippets and intelisense.

I thinks that this only works in js files and not in script tag in HTML file.



来源:https://stackoverflow.com/questions/1526658/how-to-enable-jquery-intellisense-in-aptana

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!