How to enable jQuery Intellisense in Aptana?

2019-05-18 14:48发布

问题:

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:

Found this question, which answers my question

Aptana Plugin for Eclipse and jQuery code assist



回答2:

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.



回答3:

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.



回答4:

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.