Install spket in eclipse

Source: Internet
Author: User

Install spket in Eclipse:

1. Download The spket-1.6.4.1.zip package, decompress the package, copy the content in the two folders of eclipse to the corresponding folder under the eclipse installation directory, and restart eclipse;

2. Window → preferences → spket → JavaScript profiles → new;

3. Enter "extjs" and click "OK". Select "extjs" and click "add library". Then, select "extjs" from the following menu ";

4. Select "extjs" and click "add File". Then. in the/ext4/src directory, select "Ext. jsb2 "file, pay attention to must also be ext-all.js and ext-all-debug.js these two JS files choose to come in, otherwise even if the configuration will not prompt;

5. Select the plug-in you want to load. Here we choose extjs;

6. Set the new extjs profile, select and click the "defalut" button on the right hand side of the "javascript profiles" dialog box;

7. Set the default JS open mode, window → preferences → General → editors → file... Select JS or create a new setting. The default open mode is spket JavaScript Editor (default) (set spket as the default JS editor ).

In the above steps, we will find that there is no file named Ext. JSB in the ext JS folder.

Solution: Find an ext file on the Internet and copy the Ext. jsb2 file to the SRC folder in the ext JS directory (the file must be correct here, otherwise it will not be prompted automatically ),

Then follow the steps above. After the configuration is complete, open the JS file before closing and use the spket JavaScript editor to open the file, there will be related ext JS prompts.

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.