Skip to main content

jQuery Intellisense support in Eclipse 3.4.2

To have jQuery Intellisense feature in Eclipse, I tried to find out the way in Google and everyone suggested to use modified version of Eclipse WTP. After doing some research I found out another way of having jQuery Intellisense in Eclipse i.e. integrating Spket IDE with Eclipse.

I am using Eclipse 3.4.2 Ganymede version.

Download

Download and Install Spket IDE and jQuery
Configure

The steps to configure jQuery Intellisense are:
  1. Open Eclipse IDE
  2. Select the menu item Window > Preferences... to open the workbench preferences.
  3. Select the Spket > JavaScript Profile preference page to display the installed JavaScript Profiles.
  4. Click the New.. button. In the Name field, type jQuery (you can type anything) as the name for the new profile. Then click OK.
  5. Click the Add Library button. From the Library drop-down list, select jQuery. Then click OK.
  6. Click the Add File button, choose jQuery javascript file downloaded from jQuery site. In my case it is stored in D:/jQuery folder as jquery-1.3.2.js
  7. Choose the jQuery profile created in step 3, click the Default button make it the default profile for all projects. The default profile can also be configured per project by using Configure Project Specific Settings... link.
  8. Click on OK to save the preferences.
Verify it
  • Create or Open any existing JS file and type $(document). and you should get onReady function in the popup list after pressing '.'

Comments

  1. unfortunately this didn't work for me. I'm using zend studio 6.1.2 and 7.1

    ReplyDelete
  2. I use free PHP IDE Codelobster PHP Edition with special JQuery plug-in.

    ReplyDelete
  3. it doesn't work for me either, can you explain it in more detail, I think something is missing...

    ReplyDelete
  4. The post is very nicely written and it contains many useful facts. I am happy to find your distinguished way of writing the post.
    Web Shopping Cart

    ReplyDelete
  5. It's Feb. 2012, and this works for me using Eclipse 3.7. Nice and easy to install, and the Spket IDE plugin is free.

    Remember you have to open your .js file with the spket Eclipse Editor (do not use the default javascript editor)

    ReplyDelete

Post a Comment

Popular posts from this blog

Office 2013 Installation Error : Code 1603

Wanted to share one error that I got while installing Microsoft Office Professional 2013 for which I had to spend almost 3 days to find the root cause. I also googled and found that many people have also faced the same issue but did not get if anyone had the solution. Sharing the solution that worked for me. Thanks to Dhaval Metrani, my colleague, who also helped me with this. If you get the following error in the log file (in the %temp% folder) while installing Office 2013 Failed to install product OSMMUI.msi ErrorCode: 1603  and the detail log shows ERROR: The network address is invalid then the same is because of Task Scheduler service is not enabled on the machine. 1603 is a generic error and some people have mentioned that the same could be related to deleting/renaming  %programdata% /Microsoft Help but the solution seemed to be related to Task Scheduler when the exact error was related to 'Network address invalid'. By default in Windows 7 and Windows Vista ...

SBOM, a key building block in supply chain risk management

In my previous blog, I talked about what software supply chain attack is all about. It occurs when a threat actor infiltrates a network and employs malicious code in the software before the publisher sends it to their customers and then it compromises the customer’s systems. Such attacks affect all users of the compromised software and can have widespread consequences for organizations and their infrastructure and data. Traditionally, organizations developed applications in-house and this enabled developers to gain control over the entire codebase. However, this model cannot meet today’s time-to-market demands. As the expectations and pace increase, it’s impossible to meet the demand with home grown software. So, there is a need for open source software contributed by software professionals around the world. Open source software facilitates rapid development and release cycles. It enables developers to incorporate ready-made components into their application so they can quickly release...

The fast-paced lifestyle of developers...

When we talk about software world, what’s the first thing that comes to your mind? Programming - right? Developers play a very important role in turning technology ideas into reality. It’s ultimately the code that runs on the computer providing an interface to the end users or systems. Empowerment of developers has evolved over the last few decades from assembly level programming to more sophisticated software programming. It continues to evolve and provide enormous opportunities to transform the life of a developer which in turn transforms the business that relies on technology.   When I started my professional career in late 90s, the technology world was limited but fascinating. Computer technology was something that every technologist wanted to be associated with. We had only a few options to choose from and I was fortunate to work on programming languages such as Java, Visual C++, etc. My first programming language Fortran (as part of my undergraduate course) was really di...