MyEclipse Add JS plugin (Spket control)

Source: Internet
Author: User

First, install the Spket

How to update online

1. Plugin Home: http://www.spket.com
2. Plug-in name: Spket IDE
3. Updating the connection (update Site): Http://www.agpad.com/update


Update installation Method:

1.[help]-[software Updates]-[find and Install ...]

2.[search for new features to install], [Next]

3.[new Remote Site ...] Name: "All right, Spketjs" url:http://www.spket.com/update/--> [Finish]

If software Updates is not found in Help

Method: Window--preferences--general-capabilities, the right to select Classic Update, "Apply" can be, now help appears in the "Software Updates".

The second method: Online download Spket-1.6.16.jar cracked version (currently the latest version)

1. If your JDK is above 1.6, you can run the installation directly by double-clicking Spket-1.6.16.jar.

Other, use the command line method. (Note: Switch the command line to the Spket-1.6.16.jar directory yourself)

2.

At this point, the installation is complete.

Second, the configuration Spket

Note: If your eclipse or MyEclipse is open during the installation of Spket, restart Eclipse or MyEclipse. To initialize the plug-in, you will see the Spket option in preferences below.

The basic steps are as follows:
1) Window→preferences→spket;


2) Spket→javascript profiles→new, enter "ExtJS" click OK;


3) Select "ExtJS" and click "Add Library" and select "ExtJS" in the drop-down bar;


4) Select "ExtJS" and click "Add file", then select "EXT.JSB" file in your./ext-2.x/source directory;


5) Set the new ExtJS profile, select and click the "Defalut" button on the right-hand side of the "JavaScript Profiles" dialog box;

The following operation, according to your own needs to set (can be selected all).


6) restart Eclipse or myeclipse;


7) Create a new JS file and enter: Ext so you can set the EXT code automatically complete function.

The effect is as follows:

Third, after the configuration of jquery:

1. Download the development JavaScript file from jquery.com, for example, be sure to select the option in the Red box.

2. Configure the Spket Javascript Profiles inside Eclipse, such as:

1) from Window->preferences ... Get in

2) If you choose 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 to select the jquery file you just downloaded.

6) If you want jquery to be the default JavaScript profile, click Default. If you want to make ExtJS the default, and use jquery in a specific project, follow these steps

3. Project-specific JavaScript options.

Select "Configure Project specific Settings ..." from the top right corner to set it up, select the project name in the popup dialog box, and the following dialog will pop up:

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

Then create a new JS file, you can use the jquery Code hints feature:

If this is done, the jquery hint is still not displayed in the compiler. You need to set *.js to Spket JavaScript Editor as default, as



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.