Here are simple steps to install and config the plugin for Eclipse 3.5 (Galileo) .
(tested on Ubuntu Linux but it should works the same for Eclipse on Windows OS too)
Install the Eclipse plugin (Spket)
+ click Eclipse menu Help -> Install New Software…
+ click “Add” button, fill in the URL:
(alternative : http://www.agpad.com/update/ )
and then fill some name, such as “Spket” , then click “OK”
+ wait Eclipse to fetch the necessary files from the update site, when it shows the components, select all and click “Next”
+ Click “Next” button again to confirm, then select “I accept the terms…” and click “Finish” to start installing.
+ Wait for downloading and installing, if there is some warning just click “Ok”, when it’s done restart Eclipse.
Create Spket profile for ExtJS
+ “JSB” approach: select “EXT JS” profile -> click “Add File” button -> browse to the ExtJS library which you downloaded (normally ext.jsb2 in the ext-3.x.x folder, or sdk.jsb3 in ext-4.x.x folder) , click “Open” .
+ Now in the profile, you can select the components for code-assisting (auto-completion), I selected Everything.
UPDATED: + “Add Folder” approach: (fallback when the JSB approach does not work – This works for almost all ExtJS versions – even 4.x, but it seems a bit slower) Select “EXT JS” profile -> click “Add Folder” button -> browse to the ExtJS SDK folder which you downloaded, click “Open” . Then the profile will show all the JS files of Ext SDK, by default (good, leave it as is).
Make default JS profile, then associate default JS Editor
+ Now click “Ok” to finish configuring.
Try auto-complete feature and more
Given a JS file is open with Spket JS Editor, you can use hotkey Ctrl+Space (or Alt+/ ) to test auto-complete and stuff !
+ Similar process can be done to create a Spket profile for jQuery :-) or YUI, but you can also use all those libs in just one profile !
+ You can configure it more, such as modify the editor/formatter to change Tabs/spaces or something like that :-) . Good luck !