开发者

How to enable jQuery Intellisense in Aptana?

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

Now i oped a 开发者_Python百科javascript file, but can't see any jQuery Intellisense,

How to enable that?


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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜