Tutorial: Spket: Setting Up Eclipse IDE For Ext JS and JQuery Development
Tutorial: Spket: Setting Up Eclipse IDE For Ext JS and JQuery Development
Spket: Setting up Eclipse IDE for Ext JS and JQuery development
This tutorial will walk you through how to set up Eclipse IDE for Ext JS and JQuery development
using Spket Editor.
I use Eclipse IDE daily at work, and it is my favorite IDE – I am a Java developer (JEE). Since Java
Web is the platform I work on, I also use Ext JS and JQuery for client side code. What I like about
Eclipse is the auto-complete feature. It saves me some time when I am coding. Unfortunately, this
feature applies only to Java language (or any other language you use – PHP, C, C++ - supported by
Eclipse IDE) and I miss it when I am coding in Ext JS or JQuery.
Recently, I found this plugin for Eclipse – Spket Editor, and it really helped me a lot. Now I can code
in Ext JS or JQuery using the auto-complete feature. Before this, I had to consult Ext JS or JQuery API
to see if they contain what I was looking for.
1 – Open Eclipse, on the menu bar click on “Help” → “Install New Software”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
5 – Select “ExtJS”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
6 – Select the second “ExtJS” option and click on “Add File”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
7 – Select “ext.jsb2” and click on “Open”. This file is inside ExtJS folder (you have to download
ExtJS).
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
8 – Select the components you want to have the auto-complete feature – I selected them all. Then select
the first “ExtJS” option and click on “Default”. Do not click on “Ok” or “Apply” yet.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
9 – Now we are going to configure Spket editor. Select “General” → “Editors” → “File Associations”.
Select “*.js” from the list. Spket JavaScript Editor will be the second one on associated editors list.
Select it and click on “Default”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
10 – Click on “Ok”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
11 – Now let's test it!
It is the same process we did for ExtJS, now we are going to do the same for JQuery.
5 – Select “JQuery”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
6 – Select the second “JQuery” option and click on “Add File”.
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
7 – Select “jquery.js” and click on “Open”. (you have to download jquery from jquery.com).
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
Tutorial: Spket: Setting up Eclipse IDE for Ext JS and JQuery development
Loiane Groner – http://loianegroner.com - http://loiane.com
8 – Now let's test it!
If you want to set up other languages (YUI, MooTools, Prototype), please check Spket page:
http://spket.com/javascript-editor.html
For more Java, Ext JS and related technologies articles, please visit:
http://loianegroner.com - English
http://loiane.com - Brazilian Portuguese
Find us on Facebook: http://www.facebook.com/pages/Loiane-Groner/134400473255914
Twitter: @loiane