Install spket in the form of myeclipse/Eclipse plug-in

Source: Internet
Author: User

1. Install spket in the form of myeclipse plug-in

Start myeclipse help → software updates → find and install... → Search for new features to install → new remote site...

Name: spket, Address URL is http://www.spket.com/update/

Restart myeclipse.

Window → preferences → spket → JavaScript profiles → new;

Ii. Configure spket

NOTE: If your eclipse or myeclipse is enabled during spket installation, restart eclipse or myeclipse. To initialize the plug-in, the spket option is displayed in preferences.

The basic steps are as follows:

1) window → preferences → spket;

2) spket → JavaScript profiles → new, enter "jquery" and click OK;

3) Select "jquery" and click "add library". Then, select "jquery" in the following menu ";

3. Add jquery

 

1. Download the Javascript file for development from jquery.com. For example, select the option in the red box.

2. Configure spket JavaScript profiles in eclipse, such:

1) go to window> preferences...

2) Select spket-> JavaScript profiles.

3) Click new... and 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. If you want to make extjs a default, and use jquery in a specific project, follow these steps:

 

 

3. project-specific JavaScript options.

Select "Configure project specific settings..." in the upper right corner to set the project name. In the displayed dialog box, the following dialog box is displayed:

 

Click jquery and make it default. Jquery is used as the default profile only in this project.

4. Choose file -- New-Other and select Javascript in the Web to create a JS file. Then you can use the jquery code prompt function:

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.