2

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?

Amr Elgarhy
  • 66,568
  • 69
  • 184
  • 301
  • possible duplicate of [Aptana Plugin for Eclipse and jQuery code assist](http://stackoverflow.com/questions/1351847/aptana-plugin-for-eclipse-and-jquery-code-assist) – AShelly Mar 13 '12 at 21:10

3 Answers3

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.

brendan
  • 29,308
  • 20
  • 68
  • 109
  • Brendan is correct. The project itself has to be associated with the JQuery library, which creates a /lib folder inside the project. If you don't have this in the project and didn't select JQuery as the language to use, it won't work. – S Pangborn Oct 06 '09 at 17:32
  • 1
    Also, this link may be helpful: http://stackoverflow.com/questions/1351847/aptana-plugin-for-eclipse-and-jquery-code-assist – S Pangborn Oct 06 '09 at 17:33
  • @S Pangborn in fact this answered exactly my question, can you put your comment as an answer so that i accept as right answer? – Amr Elgarhy Oct 06 '09 at 17:41
0

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.

slm
  • 15,396
  • 12
  • 109
  • 124
0

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.

Michael M
  • 931
  • 1
  • 8
  • 3