[EXTJS5 Study Notes] section 26th using the sencha extjs plug-in eclipse/myeclipse

Source: Internet
Author: User

[EXTJS5 Study Notes] section 26th using the sencha extjs plug-in eclipse/myeclipse

---------------------------------------------------------------------------------

Introduction

The sencha eclipse plug-in provides an integrated development environment that facilitates javascript writing, and more convenient for ext js and sencha touch to write efficient and accurate code. This plug-in is in the VGET Project (eclipse plug-in of java script. It replaces the standard text editing and simple javascript writing with the features in the IDE development environment. The specific convenience is as follows:

1. Code Completion, code template, and quick and precise javascript code writing wizard.

2. Ability to search for javascript types and inheritance relationships, etc.

3. Similar to java syntax check to help find errors.

4. Test and debug javascript.

The plug-in also provides other similar java IDE functions, such as highlighting and syntax highlighting.

 

For extjs and sencha touch, the plug-in provides the following performance:

1. Code Assistant

Ext global variables, package paths, attributes, methods, etc.

Method of the specified type

Display All description information of a Type

2. Support:

JSDuck-type document builder, such as @ parameter {String/Date []} My Parameter

Factory method inference: for example, Ext. create

Object iteration assistant, such as Ext. application {}

Anonymous functions, such as Ext. each

Singleton, such as Ext. Date

Use xtype to configure options

Add fullname xtype and alias configurations to the Ext. create Function.

Excellent support for Ext. define

Known validity check

A warning will be prompted when the method reference is reduced.

An error is reported when incorrect configuration is passed in.

 

Sencha eclipse plugin can work with JSDuck

The path to JSDuck on github is: https://github.com/senchalabs/jsduck can use this project to produce extjs documentation.

 

Below are some supported types of annotations

@ Return @ private @ property @ protected @ type @ cfg @ param

I should know the specific meaning according to the name, but I will not elaborate on it too much.

 

The following describes how to install and use the plug-in three steps: 1. install eclipse 3.7, 4.0, and 4.1 (indigo/juno). Note that aptana has not been used for testing. 2. install VJET and sencha eclipse plug-in 3. import extjs and sencha touch Class Libraries
Install eclipse on your own
Install the VJET and Extjs plug-ins. If you have installed a previous version of the plug-in, uninstall it first. 1. decompress the downloaded plug-in package. in eclipse/myeclipse, select help/install new software (in myeclipse2014, select install from site) and select the plug-in package you just decompressed, note that this is a 30-day trial version. 3. Select and install the VJET and extjs plug-ins.
To import the extjs class library, select the appropriate jstl package. For example, the ExtJSTL-4.0.7-gpl.zip selects File Import in eclipse/myeclipse to enter the import wizard. You can ignore errors during general-existing projects-> next.

After this is done, you also need to select new VGET project when creating the project, and then include the code to the workspace. OK. It's hard!

Plug-in: http://download.csdn.net/detail/sushengmiyan/8085851

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.