Hooch
Hooch

Reputation: 29673

jQuery code assist in Aptana Studio 3.1.1

This is not duplicate question because lots of things changed in Aptana Studio 3.1.1 and there is no question regardnig that version.

I would like to have code assist for jQuery in Aptana Studio. I already installed jQuery bundle. But I still don't get any code assist for my code.

I type for example: $("div#chat"). After typing dot I should see list of all jQuery functions. But I don't see anything.

What I have to do to fix it?

Upvotes: 0

Views: 5432

Answers (2)

Ingo Muschenetz
Ingo Muschenetz

Reputation: 3352

It works for me as expected using the directions here:

  1. Commands > Install Bundle > jQuery
  2. Right click on a project, select Properties > Project Build Path and select the checkbox for jQuery 1.6.2.

If you don't do the second part, you'll just get snippets. This prevents you from needing to copy it into every project.

Upvotes: 8

Hooch
Hooch

Reputation: 29673

Got it fixed. If you want to have code hinting for jquery you need to download (uncompressed) jQuery library and place it in the same folder as your script.

This is working but it is not satisfying me. I have many folders and I don't want to duplicate jQuery file over all folders.

Upvotes: 0

Related Questions