Spket IDE and Eclipse installation of Plug-ins
The Spket IDE is a cool JavaScript and XML development tool and provides eclipse plug-ins. The mainstream JS frame--extjs,yui,jquery and so on can be very good support. The installation methods and procedures are described below.
A Install the Spket IDE.
1, prepare Spket IDE installation files, you can go to Spket's official website http://www.spket.com/download.html download. Website Download screenshot:
The document contained is: Spket 1.6.18.jar.
2, if your JDK version is 1.6 or more, click Install directly. As shown in figure:
And then just keep pressing the next step, finish!.
Second, install the Spket Eclipse plug-in.
1, ready to Spket Eclipse Plug-ins, ditto.
2, download complete, extracted files under two folders (features and plugins folder), respectively, the files of these two folders copied to your eclipse's installation directory features and plugins folder, OK. Restart Eclipse. Note: My use is eclipse3.2, can be installed successfully. Under myeclipse7.5 and myeclipse8.5 I have not installed successfully, may be related to my installation path, two myelipse I have installed the default in the C disk, depressed.
3, restart Eclipse, under Window>preference, you will see the Spket interface. The following figure
Two Here's how to write the JS code using Spket.
1, in the Spket under the Javasript Profiles Configuration Development JS Framework support. The following figure:
2, new profile, enter the name (any), click OK. As shown in figure:
3, click Add Library, as shown:
4, click OK, and then click Add File, select the JS framework of the library file, ExtJS is EXT.JSB2 (if you use the jquery framework, direct jquery.js Import), the following figure
5, hit the tick, choose ExtJS Support, I have ticked. The following figure:
6, click OK. Configuration complete. The following is a new test.js for testing, to see if the JS code automatically prompts.
Note: If follow the steps above, have not implemented the JS code automatically prompts, there may be two reasons: First, spket configuration after you did not restart Eclipse, and the second is after the new profile, did not click Default, here is the meaning of reload.
The following figure:
How to use Spket can refer to the official video demo, Address: http://www.spket.com/demos/js.html