[EXTJS5 Study notes] section 26th, using Sencha ExtJS plug-ins in Eclipse/myeclipse

Source: Internet
Author: User

This address: http://blog.csdn.net/sushengmiyan/article/details/40507383

Plugin Download: http://download.csdn.net/detail/sushengmiyan/8085851

This article Sushengmiyan

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

Introduced

The Sencha Eclipse Plugin provides an integrated development environment that facilitates JavaScript authoring and makes it easier for Ext JS and Sencha touch to write efficient, accurate code. This plugin is in the Vget project (the Eclipse plugin for Java script). It replaces standard text editing and simple JavaScript writing with features such as the IDE's development environment, with the following advantages:

1. Code completion, code templates, fast and accurate writing JavaScript code wizard.

2. Ability to find JavaScript types and inheritance relationships, etc.

3. Java-like syntax checking to help find errors.

4.javascript of running test and debugging.

The plugin also provides other Java IDE-like features such as highlighting, syntax highlighting, and so on.


For ExtJS and Sencha Touch, the plugin provides the following performance:

1. Code Helper

Ext's global variables, package paths, properties, methods, etc.

Methods for specifying types

All descriptive information for a type is displayed

2. Support is as follows:

Jsduck type of document generator, like @ parameter {string/date[]} my parameters

Factory method inference: such as Ext.create

Object Iteration Helper, like ext.application{}

Anonymous functions, like Ext.each

Single case, e.g. Ext.date

Using Xtype to configure options

Add configurations such as FullName Xtype and alias to the Ext.create function

The same excellent support for Ext.define.

Known legality checks

A warning is prompted when you reduce the reference to the method

Error when an incorrect configuration is passed in

Sencha Eclipse Plugin can work together with Jsduck

The path to Jsduck on GitHub is: Https://github.com/senchalabs/jsduck can use this project to produce EXTJS documents.


Here are some supported types of annotations

@return @private @property @protected @type @cfg @param

According to the name should know the specific meaning, but more elaborate


The following emphasis on the installation of this plug-in to install the use of this plugin, you need to do three steps: 1. Install Eclipse 3.7 or 4.0, version 4.1 (Indigo/juno) Note that the Aptana test has not been used 2. Install Vjet and Sencha Eclipse plug-in 3. Import ExtJS and Sencha Touch class libraries
Install Eclipse and install it yourself.
Installing the Vjet and ExtJS pluginsIf you have a previous version of this plugin, please uninstall it first. 1. Unzip the downloaded plug-in package2. In Eclipse/myeclipse, select Help/install new software (in myeclipse2014, select Install from site)after the pop-up selection box, select the plug-in package just unpacked, note that this is a 30-day trial version Oh. 3. Select and install the Vjet and ExtJS plugins together.
Importing a ExtJS class libraryNote Select the appropriate JSTL package. such as Extjstl-4.0.7-gpl.zipSelect File Import in Eclipse/myeclipse to enter the Import wizard. Select General-existing Projects->nexterrors can be ignored during the process.

after this is done, you will need to create a new project, select New Vget Project, and then include the code in the workspace. OK, here you are. It feels so hard!

Plugin: http://download.csdn.net/detail/sushengmiyan/8085851

[EXTJS5 Study notes] section 26th, using Sencha ExtJS plug-ins in Eclipse/myeclipse

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.