Keywords: jquery code prompt function spket installation and configuration
Now many of my friends use jquery to compile Javascript. It would be better to have jquery code prompting function. In fact, there are many such plug-ins. Let's talk about spket here!
The following content is transferred from http://www.cnblogs.com/meetrice/archive/2008/06/16/1223146.html
And http://blog.sina.com.cn/s/blog_4b81125f0100bhxy.html
1. spket installation (three methods ):
(1) plugin:
Minimum requirements: 3.2.x,
The file is: the installation of other plug-ins spket-1.6.16.zip is no different, I believe you don't have to say it
(2) spket ide:
Minimum requirements: You need to run the installer in Java 1.5 or later, which can be used independently (you do not need to install eclipse
The file is: spket-1.6.16.jar
Installation steps:
1. Open cmd,
2. Enter the Java-jar spket-1.6.16.jar in the spket-1.6.16.jar file directory
3. Press enter (I believe you have seen the installation Screen
(3) Update site
This is the update website, which is the spket IDE.
Use it to open the eclipse updatemanager (Help menu under eclipse), and add a new bookmarks:
Http://www.spket.com/update
2. Set the jquery environment for Elipse Development (spket ):
First install spket, as shown above, and then configure jquery:
(1) From http://jquery.com/
Download the Javascript file for development. For example, you must select the option in the red box.
(2) Configure spket JavaScript profiles in eclipse, such:
1) from window-> preferences... Go in
2) Select spket-> JavaScript profiles.
3) Click new... Enter jquery to create a new profile
4) Click Add library and select jquery to create a new library.
5) Click Add file and select the jquery file you just downloaded.
6) If you want jquery to become the default JavaScript profile, click default.
Create a new JS file and use the jquery code prompt function: